Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.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
Debian 翻译工具包:csv2po复数转换格式不正确_Debian_Plural - Fatal编程技术网

Debian 翻译工具包:csv2po复数转换格式不正确

Debian 翻译工具包:csv2po复数转换格式不正确,debian,plural,Debian,Plural,我将csv2po与模板文件一起使用。复数字符串的格式不正确 预期结果: #: /fr msgid "hour" msgid_plural "hours" msgstr[0] "heure" msgstr[1] "heures" 实际结果是: #: /fr msgid "hour" msgid_plural "hours" msgstr[0] h e u r e msgstr[1] h e u r e s 我的环境:debian喘息32位 提前感谢。我使用Drupal8的Gettext组件解决

我将csv2po与模板文件一起使用。复数字符串的格式不正确

预期结果:

#: /fr
msgid "hour"
msgid_plural "hours"
msgstr[0] "heure"
msgstr[1] "heures"
实际结果是:

#: /fr
msgid "hour"
msgid_plural "hours"
msgstr[0] h
e
u
r
e
msgstr[1] h
e
u
r
e
s
我的环境:debian喘息32位


提前感谢。

我使用Drupal8的Gettext组件解决了这个问题