php 多语言 gettext问题以及解决
产生的po文件,以utf8无bom保存,msgfmt -o default.mo default.po --verbose
default.po: warning: PO file header missing, fuzzy, or invalid
warning: charset conversion will not work
found 1 fatal error
将po文件以多种格式保存,均如此。多方无解,最后安装virtaal.exe,打开po产生的mo可以正常使用。
命令行编译的mo可以用virtaal打开,但应用无法翻译,不明原因。
页:
[1]