【发布时间】:2018-07-08 05:43:34
【问题描述】:
我的表头如下所示
<th scope="col"><?= $this->Paginator->sort('name')?></th>
生成 POT 文件 'name' 后没有生成 'msgid' 和 'msgstr'。
我试过下面的代码,但结果是一样的。
<th scope="col"><?= __($this->Paginator->sort('name')) ?></th>
在生成 POT 文件之前我将如何准备它?
【问题讨论】:
标签: cakephp cakephp-3.0 cakephp-3.x