TYPO3:如何用TypoScript覆盖ke_search扩展的语言标签
解决TYPO3扩展ke_search语言标签覆盖问题
正确的TypoScript语法如下,注意使用tx_kesearch作为插件标识,且确保代码放在TypoScript Setup(而非Constants)中:
plugin.tx_kesearch._LOCAL_LANG { default { num_results = %s results: } de { num_results = %s Ergebnisse: } }
额外注意事项:
- 确认语言标签键
num_results与ke_search扩展中实际使用的键完全一致,可通过查看扩展的Resources/Private/Language/locallang.xlf文件核对。 - 如果是覆盖后端模块的语言标签,需要使用
module.tx_kesearch._LOCAL_LANG路径。 - 若配置后仍不生效,尝试清除TYPO3的页面缓存与配置缓存。
内容的提问来源于stack exchange,提问作者t3fan
相关产品推荐
相关产品推荐

