You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.19 17:38:08