我将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。
提前致谢。
答案 0 :(得分:0)
我使用Drupal 8的Gettext Component解决了这个问题。