我試圖將所有_('gettext')函數調用的腳本掃描到新的PoEdit目錄中。解析文件後,它會顯示此錯誤: Filename.class.php:11: warning: Although being used in a format string position, the msgid is not a valid PHP format string. Reason: In the direc
我正在做一個使用gettext的php項目的i18n。我希望使用automatic comment feature在翻譯由id替換的長短語時給翻譯人員提示。我想獲得的是下面的PO文件 #: full-path-to-file/index.phtml:3
#. a very long text which should replaced by _('foobar')
msgid "foobar"