[TYPO3-english] Language Selection and Menu on Typo3_452

Dominic Garms djgarms at gmail.com
Wed Apr 20 02:00:36 CEST 2011


> I selected standard language German in the backend and in my TS Config the
> L=0 Parameter is German. [globalVar = GP:L = 1] is English.

Hello Tobias,

first I recommend for using sr_language_menu for the menu, here would be 
the TS for the german default language and english as second:

plugin.tx_srlanguagemenu_pi1.defaultLanguageISOCode = DE
plugin.tx_srlanguagemenu_pi1.defaultLayout = 0
plugin.tx_srlanguagemenu_pi1.languagesUidsList = 0,1

lib.LanguageMenu = COA
lib.LanguageMenu {
     wrap = <div id="languageSelect">|</div>
     10 < plugin.tx_srlanguagemenu_pi1
}

Next you have to look at the language config, here a sample what works 
for me:

config.language = de
config.locale_all = de_DE
config.uniqueLinkVars = 1
config.htmlTag_langKey = de-DE
config.sys_language_uid = 0
config.linkVars = L

config.sys_language_mode = content_fallback
config.sys_language_overlay = hideNonTranslated

[globalVar = GP:L = 1]= GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = en-EN
config.htmlTag_langKey = en-EN
[global]

I guess you might forgot the TS config.linkVars = L, without that your 
language Menu couldnt work at all

Hope this snippet helps you out of your trouble

Kind Regards

Dominic



More information about the TYPO3-english mailing list