[TYPO3] Simultaneous multi-language content?

Adam Harvie aharvie at msf.ca
Thu Feb 14 20:10:28 CET 2008


It should indeed. I was swapping the order in the vague hope that it 
might make a difference, and forgot to switch that bit back when 
revising it for the mailing list message. It doesn't work even without 
that typo.

Tal Tabakman wrote:
> i'm no expert either,
> but 'config.language = fr' appears twice.
> shouldn't the 2nd be 'en'?
> 
> 
> On 2/11/08, Adam Harvie <aharvie at msf.ca> wrote:
>> Hi all,
>>
>> Setting up a bilingual Typo3 site. We run news updates via tt_news,
>> which works in both languages no problem. We also put our latest
>> headlines on the front page, in both languages:
>>
>> News:
>> Location(en)/Location(fr)
>> Headline in English (links to article) / Headline in French (links to fr
>> article)
>>
>> Is there any clever trick I could do to get the latest news from tt_news
>> in both languages?
>> We do something similar with the navigation - the front page displays
>> each section in both languages, and then the person makes an implicit
>> decision by clicking one, and thereafter the menu is in one language
>> only. I tried to get a bilingual auto-generated menu by doing this in TS:
>>
>> #set up bilingual menu
>> #set up french section
>> config.sys_language_uid = 4
>> config.language = fr
>> temp.fr_menu = HMENU
>> temp.fr_menu.1 = TMENU
>> temp.fr_menu.1 {
>>        NO.allWrap = <p class="frontPageNavLink"> | </p>
>>        NO.stdWrap.htmlSpecialChars = 1
>>
>> }
>> #set up english section
>> config.sys_language_uid = 0
>> config.language = fr
>>
>> temp.en_menu = HMENU
>> temp.en_menu.1 = TMENU
>> temp.en_menu.1 {
>>     normal state - no submenu
>>     NO.allWrap = <p class="frontPageNavLink"> | </p>
>>     NO.stdWrap.htmlSpecialChars = 1
>> }
>>
>> But no dice. I'm not the world's greatest expert in TS, but I figure
>> that I'm taking the wrong approach to extracting content in a particular
>> language. Any advice?
>>
>> Thanks,
>> Adam
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
> 
> 
> 


More information about the TYPO3-english mailing list