问题
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...
回答1:
If this is your actual code, it is wrong. You have to set 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.
来源:https://stackoverflow.com/questions/17149661/typo3-sys-language-mode-content-fallback-doesnt-work-on-menu