TYPO3 sys_language_mode = content_fallback doesn't work on menu

我是研究僧i 提交于 2020-01-06 08:13:40

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!