TYPO3 sys_language_mode = content_fallback 在菜单上不起作用 [英] TYPO3 sys_language_mode = content_fallback doesn't work on menu

查看:20
本文介绍了TYPO3 sys_language_mode = content_fallback 在菜单上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚学会了如何使用sys_language_mode = content_fallback",据我所知,它很有魅力.我正在使用带有 content_fallback 的 TYPO3 6.0.6,对于内容元素,它在我的整个安装过程中都能正常工作.

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.

第一反应是在HMENU中使用了一种解决方法,但是没有办法按语言选择,现在我卡住了两天.

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.

希望有人有想法...

非常感谢,非常感谢您的帮助.

Thank a lot, really appreciate any help.

干杯!

由于最后一个问题,请在下面找到更多信息:

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

当前设置:

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

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

所以这个想法是西班牙裔美国人回退到西班牙语,这有效 - 但不适用于菜单,仅适用于内容.我在 TYPO3 4.5 LTS 中遇到了同样的问题...

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...

推荐答案

如果这是你的实际代码,那就是错误的.你必须设置 config.sys_language_mode = content_fallback ;1,因为您已经在使用语言2"并且此配置的正确顶级对象是config".

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".

这是一个已知的 TYPO3 错误.TYPO3 Bugtracker 目前提供了一个补丁.

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

这篇关于TYPO3 sys_language_mode = content_fallback 在菜单上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆