[TYPO3] multilanguage typoscript configuration

Antonio Nikolic nikolic at intime.de
Wed Sep 13 13:37:14 CEST 2006


hi,

i have been advised to read the doc_l10nguide due to some flexform 
related problems after upgrading to typo3 4.0.

after reading it (great document! it's a must-read!) now it is still 
unclear to me, how exactly the default language should be set up.
until now i had the following code (which did what it should do):

# Setting up the language variable "L" to be passed along with links
config.linkVars = L
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE

# German language, sys_language.uid = 0
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
[global]

# English language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = english
[global]

the "config.sys_language_uid = 0" indicates, that i have a language 
record set up for the default language.

But the only thing mentioned in the document is the "linkVars" parameter 
  and the following parameters in TSconfig:
   mod.SHARED {
        defaultLanguageFlag = de.gif
        defaultLanguageLabel = German
   }

NOW,
is it basically WRONG to set up the parameters
   config.sys_language_uid = 0
   config.language = de
   config.locale_all = de_DE
with no condition concerning the L-Variable?
Does this possibly break things?

any experience with this?
thank you
Antonio Nikolic



More information about the TYPO3-english mailing list