linux下安装并使用msgfmt命令

msgfmt安装方法:

    sudo apt-get install gettext

编码 po 文件为 mo 文件:

    msgfmt -o test.mo test.po

mo 文件反编码成 po文件:

    msgunfmt test.mo -o test.po

参考链接

猜你喜欢

转载自www.cnblogs.com/jjxhp/p/12036187.html
今日推荐