[TYPO3] Selection of Languages does't work

Thijs Hakkenberg thijs at hakkenberg.com
Mon May 29 02:47:12 CEST 2006


Susanne Moog schreef:
> 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
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>   
Changed it to:

---start  Constants---

plugin.tx_srlanguagemenu_pi1.showCurrent = 1
plugin.tx_srlanguagemenu_pi1.defaultCountryISOCode = NL
plugin.tx_srlanguagemenu_pi1.defaultLanguageISOCode = NL

#taalgedoe
config.linkVars = L

config.language = Nederlands
config.locale_all = Nederlands
config.sys_language_uid = 0

[globalVar = GP: L = 7]
config.locale_all = Deutsch
config.sys_language_uid = 7
config.language = Deutsch

[globalVar = GP: L = 5]
config.locale_all = English
config.sys_language_uid = 5
config.language = English

[globalVar = GP: L = 9]
config.sys_language_uid = 9
config.language =  Español

[globalVar = GP: L = 8]
config.sys_language_uid = 8
config.language =  Français

[GLOBAL]
PAGE_TARGET =
content.pageFrameObj =

---end  Constants---

And no change. How did you name your website languages?
-- 

Thijs Hakkenberg,  

Voorzitter Stichting Ebriositas
www.ebriositas.nl

Student Natuurkunde UvA
www.uva.nl

Systeembeheerder Stichting Varkens in Nood
www.varkensinnood.nl

Contact:
tel: 06-48761131
www.hakkenberg.com
thijs at hakkenberg.com



More information about the TYPO3-english mailing list