[TYPO3-english] CoolUri + localized page path
Joe Berger
joeberger at gmx.de
Sun Mar 15 22:50:50 CET 2009
Hi Jan,
following yout hint, I get the problem the other way around. :-(
The links are fine now but the pages are not translated anymore.
Now the sys_language_uid is always 2.
Here is my language selector.
lib.langMenu = TEXT
lib.langMenu {
wrap = <ul><li> | </li></ul>
value = English
typolink.parameter.data = page:uid
typolink.additionalParams = &L=2
}
[globalVar = GP:L=2]
lib.langMenu.value = Deutsch
lib.langMenu.typolink.additionalParams = &L=0
[global]
Kind regards
Joe
>>> Jan Bednarik<info at bednarik.org> schrieb am 15.03.2009 um 22:01:
>> I guess it should be sys_language_uid=2
>
> Yep, that's it. The problem is in different sys_language_uid and L
> param. So, you need to change 1 to 2 in:
>
> [globalVar = GP:L = 2]
> #englisch
> config.sys_language_uid = 2
> config.language = en
> config.locale_all = en_EN.UTF8
> [global]
>
> <valuemap>
> <parameter>L</parameter>
> <value key="">0</value>
> <value key="en">2</value>
> </valuemap>
>
> and update your language selector to reflect this. CoolUri does not
> support different language parameter to language UID. I guess, it may
> not be that hard to support it, I will think about it.
More information about the TYPO3-english
mailing list