[TYPO3] multilanguage TMENU
stereofrog at gmail.com
stereofrog at gmail.com
Fri Aug 15 15:36:37 CEST 2008
On 8/15/08, Xavier Perseguers <typo3 at perseguers.ch> wrote:
> 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.
>
Hi Xavier,
any pointers on how this can be achieved?
Thanks,
gosha
More information about the TYPO3-english
mailing list