Convert PO, POT & MO Files Online — The All-in-One Converter

The hub for every gettext conversion, starting with a routing table that maps what you have to what you need. Covers the three conversions that run in the browser with no toolchain — POT to PO, PO to POT, PO to compiled MO — with the command-line equivalent for each, and the direction rules that resolve most confusion before it starts: the template comes from xgettext over your source and not from stripping a PO, an MO is a build artifact you never edit, and updating an existing catalog is a msgmerge, not a conversion. Then the two header fields a converted template will not fill for you and what breaks when they stay as CHARSET and nplurals=INTEGER; the three categories compilation deliberately omits, including the sneaky one where a single empty plural form drops the whole entry; the routes out of gettext to JSON, CSV and XLIFF with the command and what each one loses; a metadata survival table across five conversion paths; three validation commands worth putting in CI; and a symptom-to-cause-to-fix table for when translations still show in English.

Back to the PO-File blog