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

时间:2013-08-23 10:02:57

标签: 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 wheezy 32bits。

提前致谢。

1 个答案:

答案 0 :(得分:0)

我使用Drupal 8的Gettext Component解决了这个问题。