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

3.2k Views Asked by At

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

2

There are 2 best solutions below

0
On BEST ANSWER

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
On

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

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