问题描述
我遇到了无法更改框中显示的消息的问题.即使我更改了文件中的消息:
I got the problem that I cannot change the message shown in the box. Even though I changed the message in the file:
'Root/typo3conf/ext/cookieconsent2/Resources/Private/Language/de.locallang.xlf'
我首先认为可能还有另一个文件,但是我找不到其他文件,我的下一个猜测可能是缓存问题.但这也不起作用.
I first thought there could be another file but I were not able to find any other and my next guess was maybe a problem with the cache. But this did not work either.
感谢您的帮助!
推荐答案
翻译文件的消息已缓存,因此,如果您更改了这些文件中的内容,则必须删除TYPO3后端(管理界面)中的缓存.
The Messages of the translationfiles are cached, so if you changed something in these files you've to delete the cache in the backend (administration-interface) of TYPO3.
此外,也许您编辑了错误的文件.您发布的文件适用于德语,并显示您必须拥有的文件或为德语创建设置.英文文件永远不会带有前缀"de".或其他任何前缀.
Furthermore perhaps you edited the wrong file. The file you posted is for German language and to display that you've to have or create a setup for the German language. The English files never have the prefix "de." or any other prefix.
这篇关于Typo3 | CookieConsent2更改消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!