[TYPO3] Selection of Languages does't work

Thijs Hakkenberg thijs at hakkenberg.com
Sat Jun 10 21:42:22 CEST 2006


Thijs Hakkenberg schreef:
> Susanne Moog schreef:
>> Thijs Hakkenberg schrieb:
>>
>>  
>>> ---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?
>>>     
>>
>> I named them english and deutsch.
>> But afaik the setting for config.language doesn't depend on your 
>> naming but on the two letter language codes (those that are also used 
>> in the locallang.php files).
>>
>> So try this setup:
>>
>> config.linkVars = L
>>
>> config.language = nl
>> config.locale_all = nl_NL
>> config.sys_language_uid = 0
>>
>> [globalVar = GP: L = 7]
>> config.locale_all = de_DE
>> config.sys_language_uid = 7
>> config.language = de
>> [GLOBAL]
>>
>> [globalVar = GP: L = 5]
>> config.locale_all = en_EN
>> config.sys_language_uid = 5
>> config.language = en
>> [GLOBAL]
>>
>> [globalVar = GP: L = 9]
>> config.sys_language_uid = 9
>> config.language = es
>> [GLOBAL]
>>
>> [globalVar = GP: L = 8]
>> config.sys_language_uid = 8
>> config.language = fr
>> [GLOBAL]
>>
>> just copy and paste. Make sure that it's in the setup field of your 
>> template... I have no more ideas why it goes wrong.
>>
>> HTH,
>> Susanne
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>   
> Yeah, I tried something comparable. And it wasn't it. But I have some 
> fresh ideas now...
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Okay... I've been stupid; This should have been in my SETUP and not my 
CONSTANTS... Luckily Daniel Doesburg pointed this out;

Working setup:

#taalgedoe
config.linkVars = L

[globalVar = GP: L = 0]
config.language = nl
config.sys_language_uid = 0
config.locale_all = nl_NL

[globalVar = GP: L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN

[globalVar = GP: L = 2]
config.sys_language_uid = 2
config.language = es
config.locale_all = es_ES

[globalVar = GP: L = 3]
config.sys_language_uid = 3
config.language = fr
config.locale_all = fr_FR

[globalVar = GP: L = 4]
config.sys_language_uid =4
config.language = de
config.locale_all = de_DE

[GLOBAL]


-- 

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