[TYPO3] multilanguage TMENU
Xavier Perseguers
typo3 at perseguers.ch
Fri Aug 15 15:27:33 CEST 2008
Hi Gosha,
>>> # Config Default English
>>> config {
>>> sys_language_uid = 0
>>> language = en
>>> locale_all = en_GB.utf8
>>> htmlTag_langKey = en
>>> headerComment = *** Programmed by gosha ***
>>> }
>>>
>>> # Config English
>>> [globalVar = GP:L = 0]
>>> config {
>>> sys_language_uid = 0
>>> language = en
>>> locale_all = en_GB.utf8
>>> htmlTag_langKey = en
>>> headerComment = *** Programmed by gosha ***
>>> }
>>> [global]
>>>
>>> # Config German
>>> [globalVar = GP:L = 9]
>>> config {
>>> sys_language_uid = 9
>>> language = de
>>> locale_all = de_DE.utf8
>>> htmlTag_langKey = de
>>> headerComment = *** Programmiert von gosha ***
>>> }
>>> [global]
>> additonaly you have to set LinkVars I estimate.
>>
>> config.linkVars := addToList(L)
>>
>> I'm shure it works with navtitles, it did not work with aliases.
>
> thanks for help, much appreciated. When I add a new language in
> backend, I have to add a new [globalVar = GP:L = whatever] section to
> TS, right? Is it possible to have this configured automatically?
AFAIK no, but it's not a big work to add this.
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
More information about the TYPO3-english
mailing list