[TYPO3-ttnews] tx_news, RealURL, multilingual

Thomas Skierlo pubtsk1 at pix-pro.eu
Wed May 9 18:29:55 CEST 2012


Hi Gregor,

I'm quite sure that your configuration will work properly once you've 
replaced 'l18n_parent' by 'l10n_parent'. I once made the same mistake - 
kind of leftover from old tt_news times.

Gretings,

Thomas Skierlo


Am 09.05.2012 13:39, schrieb Gregor Kaczmarczyk:
> Hi list,
>
> i've already used the new news extension in some projects.
> It's really a great extension. Thank you Georg!
>
> But for the first time i need multilaguage functionality 
> (german/english).
> I can't get localized links for the detail view wit RealURL.
>
> Without RealUrl everything is working as expected.
> RealUrl is also working but without localized links to detail view.
>
> My full RealUrl conf:
> http://pastebin.com/8rxv8hau
>
> snippet:
> 'fixedPostVars' => array(
>     'newsDetailConfiguration' => array(
>         array(
>             'GETvar' => 'tx_news_pi1[news]',
>             'lookUpTable' => array(
>                 'table' => 'tx_news_domain_model_news',
>                 'id_field' => 'uid',
>                 'alias_field' => 'title',
>                 'addWhereClause' => ' AND NOT deleted',
>                 'useUniqueCache' => 1,
>                 'useUniqueCache_conf' => array(
>                     'strtolower' => 1,
>                     'spaceCharacter' => '-'
>                 ),
>                 'languageGetVar' => 'L',
>                 'languageExceptionUids' => '',
>                 'languageField' => 'sys_language_uid',
>                 'transOrigPointerField' => 'l18n_parent',
>                 'autoUpdate' => 1,
>                 'expireDays' => 180,
>             ),
>         ),
>     ),
>
> when using fields
> 'languageGetVar', 
> 'languageExceptionUids','languageField','transOrigPointerField'
> the url looks like:
> german: domain.de/news/artikel/1/
> english: domain.de/en/news/article/1/
>
> without using these fields
> german: domain.de/news/artikel/nachricht-nummer-eins-auf-deutsch/
> english: domain.de/en/news/article/nachricht-nummer-eins-auf-deutsch/
> -> this link shows the correct news entry in english
>
> Has anybody a clue how to get a working localization for the detail 
> links?
>
> TYPO3 Ver. 4.7.0
> tx_news from git (yesterday)
> RealURL 1.12.1
>
> Thanks in advance,
> Gregor
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news



More information about the TYPO3-project-tt-news mailing list