[TYPO3] Simultaneous multi-language content?
Adam Harvie
aharvie at msf.ca
Mon Feb 11 17:32:49 CET 2008
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
More information about the TYPO3-english
mailing list