简体   繁体   中英

TYPO3 sys_language_mode = content_fallback doesn't work on menu

I've just learned how to use "sys_language_mode = content_fallback" and as far as see it works like a charm. I am using TYPO3 6.0.6 with content_fallback and for content elements its working all over my installation.

But, and that's my issue at the moment, i couldn't get it to work with my menus. All menus are allways switching back to the original "default" language.

First reflex was to use a workaround in HMENU, but there's no way to select by language and now I am stuck for two days.

Hope anybody has an idea...

Thank a lot, really appreciate any help.

Cheers!

Due to the last question, please find below more informationen:

Setup is currently:

english = id:0;
spanish = id:1;
spanish (america) = id:2;

[globalVar = GP:L = 2]
sys_language_mode = content_fallback ; 2,1
[global]

So the idea is that spanish america falls back to spanish, which works - but no for the menu, only for content. I've the same issue in TYPO3 4.5 LTS...

If this is your actual code, it is wrong. You have to set config.sys_language_mode = content_fallback ; 1 config.sys_language_mode = content_fallback ; 1 , since you are already in language "2" and the right top level object for this configuration is "config".

Edit:

This is a known TYPO3 Bug. A patch is provided in the TYPO3 Bugtracker for now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM