[TYPO3-english] translated content not displayed, only default translation of content
Bart Boeschen Hospers
typo3 at ourlastyear.nl
Fri Oct 24 00:58:27 CEST 2008
Andreas Burg schreef:
> Hello Bart,
>
>> 1) added a new website language on the root of the site (thrue 'List')
>> 2) extended my template config:
>>
>> config.linkVars = L
>> config.sys_language_uid = 0
>> config.language = nl
>> config.locale_all = Dutch
>> [globalVar = GP:L = 0]
>> config.sys_language_uid = 0
>> config.language = nl
>> config.locale_all = Dutch
>> [globalVar = GP:L = 5]
>> config.sys_language_uid = 5
>> config.language = en
>> config.locale_all = en_EN
>> [global]
>>
>>
>> 3) I've added an 'Alternative Page Language' for an page I want to
>> translate.
>> 4) On this page I've made a Localization for a contentelement
>> containing the English text (via "Create a copy for translation
>> (English)")
>> 5) Added the extension 'sr_language_menu' on the homepage, and
>> selected 'Languages to select from' as English with the corresponding
>> flag.
>> 6) For my own ease, I've added to my pageTSconfig the default language
>> is Dutch:
>> mod.SHARED {
>> defaultLanguageFlag = nl.gif
>> defaultLanguageLabel = Nederlands
>> }
>
> I can't see any mistake. Only things I have additionaly are:
>
> sys_language_mode = content_fallback ; 0,5
> sys_language_overlay = 1
> uniqueLinkVars = 1
> linkVars = L(0|5)
>
> My language menu is build with the standard HMENU special language.
> I use the extension rlmp_language_detection, so only people from NL gets
> the Dutch language.
> I use cooluri.
> Check if your language IDs are correct (globe - listview).
>
> BTW Don't forget htmlTag_langKey = nl (or en)
>
> Andreas
Thanks Andreas!
The addition of 'config.sys_language_overlay = 1' made a difference
between day and night!
Now it works like a charm!
Thanks for your support!
Bart
More information about the TYPO3-english
mailing list