【问题标题】:Cakephp i18n, how exclude by default the plugin folder?Cakephp i18n,如何默认排除插件文件夹?
【发布时间】:2013-12-22 10:10:50
【问题描述】:

我正在使用 cake i18n, 当它创建文件 default.pot 时,还有插件的字符串。 如何从 cake i18n 中排除文件夹插件?

【问题讨论】:

    标签: cakephp internationalization


    【解决方案1】:

    好的解决方案是using __d() function with prefix of name of plugin。

    或

    在 CakePHP i18n shell 中可以exclude folders。

    【讨论】:

    • +1 虽然答案不应该只是参考,示例用法(简短但相关的解释)和示例输出就足够了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-09-07
    • 1970-01-01
    • 1970-01-01
    • 2020-04-09
    • 1970-01-01
    • 1970-01-01
    • 2023-03-23
    相关资源
    最近更新 更多