[英]TYPO3 showing language keys in backend instead of translation target
The problem I have only exists in TYPO3 6.2.x.我的问题只存在于 TYPO3 6.2.x 中。 In 7.6.x everything works as expected!在 7.6.x 中一切正常!
The steps are as follows:步骤如下:
The problem is, that some strings are not translated, but their key is displayed, eg like "LLL:EXT:my_ext/Resources/Private/Language/locallang.xlf:flexform.content.tab".问题是,有些字符串没有被翻译,但它们的键被显示出来,例如“LLL:EXT:my_ext/Resources/Private/Language/locallang.xlf:flexform.content.tab”。 A lot of other strings (in the same plugin) are being translated just fine.许多其他字符串(在同一个插件中)被翻译得很好。
What I have tried:我尝试过的:
What I haven't tried yet, is debugging TYPO3 itself.我还没有尝试过的是调试 TYPO3 本身。 I'd like to do that but I don't like to find the important classes to check.我想这样做,但我不想找到要检查的重要课程。 Can someone lead me to the parts in the typo code where debugging could be interesting?有人可以引导我了解错别字代码中调试可能很有趣的部分吗?
After two hard days of work I finally found out.经过两天的辛苦工作,我终于发现了。 You won't believe it.你不会相信的。 The problem was in the flexform.问题出在 flexform 上。
This will translate just fine in TYPO3 6.2.x :这将在 TYPO3 6.2.x 中转换得很好:
<sheetTitle>LLL:EXT:myExt/Resources/Private/Language/locallang.xlf:my.key
</sheetTitle>
This won't:这不会:
<sheetTitle>
LLL:EXT:myExt/Resources/Private/Language/locallang.xlf:my.key
</sheetTitle>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.