poedit esc_html_e - 新翻译

时间:2017-08-13 06:26:30

标签: php wordpress translation poedit

我有文件abc.php。那里已有文字。在语言文件中,我有一个文件.pot.po。在.po我翻译了abc.php中的一些文字。但是,当我想在abc.php <? php esc_html_e ('New text', 'abc'); ?>中添加一些新文字时,新文字不会显示在.pot.po文件中。

我可以做些什么来翻译我添加的文字?

1 个答案:

答案 0 :(得分:1)

Your .pot and .po files don't update automatically, you have to add the translation into the files manually.

You can just edit the .po file in any text editor and then generate the .mo with Poedit.

相关问题