【问题标题】:can't find translation in admin or language file in prestashop在 prestashop 的管理员或语言文件中找不到翻译
【发布时间】:2017-07-04 15:31:41
【问题描述】:

我正在开发一个以前定制过的 prestashop。我正在尝试为头部标题添加翻译,但无法翻译。 这是 .tpl 文件中的行:

<h4>{l s="saison" m="homefeatured"}</h4>

我尝试将自己添加到语言 php 文件中

$_MODULE['<{homefeatured}nop>homefeatured_62d8617d49c4cbd03664e39af6f0fe2f'] = 'SEASONS';

但它不起作用,我在管理员 > 位置 > 翻译 > 模块名称中找不到它。我的意思是我看到了所有其他已经在这里的句子,但没有看到这个新句子。

【问题讨论】:

    标签: prestashop translation


    【解决方案1】:

    笨蛋,我找到了解决办法。

    <h4>{l s="saison" m="homefeatured"}</h4>
    

    变成

    <h4>{l s='saison' mod='homefeatured'}</h4>
    

    【讨论】:

      猜你喜欢
      • 2012-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-02
      • 2020-05-06
      • 2014-09-16
      • 1970-01-01
      相关资源
      最近更新 更多