[TYPO3] Selection of Languages does't work

Susanne Moog mail at susi-moog.de
Tue May 30 21:21:26 CEST 2006


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



More information about the TYPO3-english mailing list