[TYPO3] Selection of Languages does't work
Susanne Moog
mail at susi-moog.de
Sun May 28 21:52:45 CEST 2006
Thijs Hakkenberg schrieb:
> Susanne Moog schreef:
>> Thijs Hakkenberg schrieb:
>>
>>> I have this in my setup of my template:
>>>
>>> config.language = nl
>>> config.locale_all = nl_NL
>>> plugin.tx_srlanguagemenu_pi1.showCurrent = 1
>>> plugin.tx_srlanguagemenu_pi1.defaultCountryISOCode = NL
>>> plugin.tx_srlanguagemenu_pi1.defaultLanguageISOCode = NL
>>>
>>> #taalgedoe
>>> config.linkVars = L
>>>
>>> [globalVar = GP: L = 7]
>>> config.sys_language_uid = 7
>>> config.language = Deutsch
>>> [GLOBAL]
>>>
>>> Any ideas? (the UID's of the languages correspond with theire UID's
>>> in the system off course)
>>>
>>>
>>
>> Try setting the config.language like you did in first line:
>>
>> instead:
>>
>> [globalVar = GP: L = 7]
>> config.sys_language_uid = 7
>> config.language = Deutsch
>>
>> try:
>>
>> [globalVar = GP: L = 7]
>> config.sys_language_uid = 7
>> config.language = de
>>
>> and - I don't know if this helps anything, but you could just try to
>> set this as well:
>>
>> config.locale_all = de_DE
>>
>> HTH,
>>
>> Susanne
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
> Hm. That would be strange; considering:
>
> 1) I am Dutch, my default language is Dutch and not german
> 2) I named my languages in their corresponding native names.
>
>
In my (working) language setup I have:
config.linkVars = L
config.language = de
config.locale_all = german
config.sys_language_uid = 0
page.config.htmlTag_langKey = de
[globalVar = GP:L = 1]
config.language = en
config.locale_all = english
config.sys_language_uid = 1
page.config.htmlTag_langKey = en
[global]
So I can make another guess:
try closing your conditions. You have only one closing tag, I don't
know, perhabs typo misinterprets this.
Regards,
Susanne
More information about the TYPO3-english
mailing list