[TYPO3] Please some help with mutiple lanquages
Rob De Vries
spam_this at pandora.be
Wed Jan 11 14:33:18 CET 2006
Elise Daans wrote:
> Can anybody maybe paste the ext: Language settings.
> Maybe i get it then.
1/add a marker in your template call it chooselanguage
2/ install the tx_srlanguagemenu ext.
3/ add a language to your website (list and then click the little earth icon
4/ add thesubpart
subparts.chooselanguage < temp.chooselanguage
4/in your root setup
###-----------------------------------LANGUAGE------------
config.linkVars = L
config.sys_language_uid = 0
config.language = nl
config.locale_all = nl_NL
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = fr
config.locale_all = fr_FR
[global]
[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = uk
config.locale_all = uk_UK
[global]
[globalVar = GP:L = 3]
config.sys_language_uid = 3
config.language = de
config.locale_all = de_DE
[global]
temp.chooselanguage < plugin.tx_srlanguagemenu_pi1
temp.chooselanguage.languagesUidsList = 0,1,2,3,4
temp.chooselanguage.defaultLanguageISOCode = NL
temp.chooselanguage.defaultLayout= 3
temp.chooselanguage.showCurrent = 1
temp.chooselanguage.useSysLanguageTitle = 0
temp.chooselanguage.showInactive = 1
temp.chooselanguage.englishFlagFile = fileadmin/template/flags/en.gif
( read the documentation of tx_srlanguagemenu for the above settings )
That's it a I guess.
Test it by adding &L=1 to your url (to see if the conditions work)
good luck
Rob
pps: It's because I like helpng the few Belgium typo users. Still all
this info can be found in the newslist archive.
More information about the TYPO3-english
mailing list