开发者

How to convert .po to .mo files on mac?

开发者 https://www.devze.com 2023-01-13 22:03 出处:网络
开发者_开发百科I have tried using poedit 1.4.6>save as, but .mo is not an option.Install gettext, then run the msgfmt command on the files.
开发者_开发百科

I have tried using poedit 1.4.6>save as, but .mo is not an option.


Install gettext, then run the msgfmt command on the files.

> brew install gettext
> msgfmt inputfile.po -o outputfile.mo


Ah, simple yet unclear, Whenever you save a file as .po using poedit, it automatically saves a .mo file aswell. (.mo being the compiled version of the languagefile)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号