【发布时间】:2016-01-03 11:48:49
【问题描述】:
我正在使用 Win 和 CakePHP 3.1。我阅读了文档并使用bin\cake i18n extract 生成了一个 default.po 文件。
问题是它没有找到/使用我在 xxx.ctp 文件中使用的 __ 函数(例如 )。当我手动创建这些(msgid,msgstr ...)时,它就像一个魅力,但我想使用提取物。因为它很方便,而且您不会错过任何翻译。有什么想法吗?
【问题讨论】:
标签: php cakephp internationalization cakephp-3.0