1

我如何使用 xgettext 和 poedit 来替换这些标签:

{php}printf(_("You have to pay € %01.2f for this car."), $this->get_template_vars('amount')){/php}

我已将我的 tpl 文件重命名为 .tpl.php 但默认形式 xgettext 只会翻译 php 标签内的字符串。我知道 poedit 中的 parsercommand 函数应该是可能的,但它缺乏关于如何做到这一点的文档。

4

0 回答 0