Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/277.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在poedit中禁用引用_Php_Locale_Gettext_Poedit - Fatal编程技术网

Php 如何在poedit中禁用引用

Php 如何在poedit中禁用引用,php,locale,gettext,poedit,Php,Locale,Gettext,Poedit,如何禁用向*.po文件添加引用?在诗歌中 poedit添加引用,但不需要它 我的gettext文件示例: #: ../../../tests/cases/Command/SysInfoTest.php:49 #: ../../../tests/cases/Command/SysInfoTest.php:238 #: ../../../tests/cases/Command/SysInfoTest.php:248 msgid "ERROR__SYSINFO__INVALID_SAVE_PATH"

如何禁用向*.po文件添加引用?在诗歌中

poedit添加引用,但不需要它

我的gettext文件示例:

#: ../../../tests/cases/Command/SysInfoTest.php:49
#: ../../../tests/cases/Command/SysInfoTest.php:238
#: ../../../tests/cases/Command/SysInfoTest.php:248
msgid "ERROR__SYSINFO__INVALID_SAVE_PATH"
msgstr "The source type for the request is invalid."
下面是我想说的:

 msgid "ERROR__SYSINFO__INVALID_SAVE_PATH"
 msgstr "The source type for the request is invalid."
有什么解决办法吗?或者我需要手动解析和删除引用吗?

这些文档使用xgettext的-no location标志,它完全满足您的需要