modx:在MIGX中更改标签文本语言

时间:2014-12-15 13:36:54

标签: php modx-revolution lexicon

我是modx的新手。我正在使用MIGX创建一些CMP。我将菜单标签名称设为migx.hello,并在core-> compontents-> migx-> lexicon-> en-> default.inc.php中添加了标签

$_lang['migx.hello'] = 'Hello World';  

但是当我加载页面页面时,它显示了migx.hello而没有显示该值。有人可以帮助我。

1 个答案:

答案 0 :(得分:1)

  1. 在词典更改后始终清除缓存。
  2. 永远不要更改文件中的词典,使用" Lexicon Management"代替。