[TYPO3-english] Problem on menus translations
Tonix (Antonio Nati)
tonix at interazioni.it
Fri Jun 4 13:16:06 CEST 2010
Thanks Victor,
config.sys_language_mode = content_fallback
solved my problem.
Thanks,
Tonino
Victor Livakovsky ha scritto:
> Hi, Antonio.
>
> Have a look at config.sys_language_mode at TSref and it's default value:
> [default] - The system will look for a translation of the page (from
> "Alternative Page Language" table) and if it is not found it will fall
> back to the default language and display that.
>
> So, when you click on non-translated page, you're getting page in
> default language (including menu items), so you should use
> 'content_fallback' value:
> config.sys_language_mode = content_fallback
>
> Or if you want to hide non-translated menu items, you may check 'Hide
> page if no translation for current language exists' checkbox in page
> properties of page, that you want to hide. Or set
> "TCAdefaults.pages.l18n_cfg = 2" in root's page TS config - then all
> pages will contain this checbox set by default (this setting won't
> affect alredy created pages - only new one).
>
> Cheers.
>
>
>> I have a strange problem, relative to menu translation, when a single
>> page is lacking translation.
>>
>> Menu are correctly translated, usually, and original text are used
>> when there is no traslation, except when the "current" page has no
>> translation. In such a case, no voices in menu are translated at all.
>>
>> Suppose the menu "title1 title2 title3 titolo4", where "titolo4"
>> page has not translation: whenever I click over title1 or title2 or
>> title3 I have the menu in translated language (except titolo4).
>> When I click on titolo4 all menu are shown in original language, not
>> translated anymore. If I continue navigating, all menu are again
>> translated.
>>
>> Any hint?
>>
>> --
>> ------------------------------------------------------------
>> Inter at zioni Interazioni di Antonio Nati
>> http://www.interazioni.it @interazioni.it
>> ------------------------------------------------------------
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
--
------------------------------------------------------------
Inter at zioni Interazioni di Antonio Nati
http://www.interazioni.it tonix at interazioni.it
------------------------------------------------------------
More information about the TYPO3-english
mailing list