MO File vs PO File: What's the Difference and When to Compile

MO vs PO files explained: PO is the human-readable translation source, MO is the compiled binary your app loads at runtime. Learn why gettext splits them, exactly when to compile with msgfmt, whether to commit MO files to Git, how to decompile with msgunfmt, and how to fix stale translations.

Back to the PO-File blog