已忽略Wordpress POT文件
我用wp-cli为我的主题生成了已忽略Wordpress POT文件,wordpress,internationalization,Wordpress,Internationalization,我用wp-cli为我的主题生成了pot文件 wp i18n make-pot wp-content/themes/my-theme/ 然后我复制了它,并将名称更改为我的母语pl_pl.pot,但即使我在我的网站上更改了该文件中的值,我仍然会看到英文版本而不是波兰语 #: tools/customizer.php:5 msgid "Theme options" msgstr "Opcje motywu" 我使用\uu()和\u e()函数。我在style
pot
文件
wp i18n make-pot wp-content/themes/my-theme/
然后我复制了它,并将名称更改为我的母语pl_pl.pot
,但即使我在我的网站上更改了该文件中的值,我仍然会看到英文版本而不是波兰语
#: tools/customizer.php:5
msgid "Theme options"
msgstr "Opcje motywu"
我使用\uu()
和\u e()
函数。我在style.css中添加了文本域:我的主题
,并在wordpress设置中设置了波兰语,但仍然不起作用