[TYPO3] Multilanguage Prob with content_fallback
Jens Gammelgaard
jens.gammelgaard at optimon.dk
Mon May 29 15:26:52 CEST 2006
Harald Klotzberg skrev:
> Good evening everybody,
>
> i have a prob running a multilanguage site with 3 languages (german,
> english, french).
> T3 4.0 with TV 1.0.1 is running. It´s done as a OneTree Installation,
> everything runs perfect with translated CE´s.
>
> The problem is, that i have a product section, where the content is stored
> only in the default language. The Content is "multilanguaged"
> (all languages in one flexible content element like this: Größe / Size /
> taille .. and so on. The FCE has not fields for each language,
> only one text field holding all languages.
>
> The FCE DS has
> <meta type="array">
> <langChildren type="integer">0</langChildren>
> <langDisable type="integer">1</langDisable>
> </meta>
>
> inside, showing only input field once (for the default language = german)
>
> The Menue is mixed, some items named equal in all languages (e.g.
> productname: Fun),
> so no translation is needed. This works perfect. Others called Women, Men,
> Kids, so it have to be translated
> in different languages. The Menueitem in this case must be there for each
> language,
> the content should shown from the default language.
>
> normally
> config.sys_language_mode = content_fallback ; 0
> should do the job, but it only shows a blank page for pages with
> localization and no content, no default content :(
>
> anyone have a hint what´s wrong? maybe there is a conflict with another
> setting and it´s known?
> googling and checking all lists doesn´t help me out.
>
> thanx in advance
> grzt, harry
Hi Harry,
I have now found a solution that worked for me...
The scenario that you describe happens if you define a language record
which is the same as your default language.
In other words you you ONLY have to create the language records for the
extra languages.
NB: The default language I define like this:
sys_language_uid = 0
language = de
locale_all = de_DK
(No offence ;-) )
Hope it works for you too.
Kind Regards
Jens
More information about the TYPO3-english
mailing list