Convert MO to XLIFF

Turn MO files into XLIFF. An XLIFF 1.2 file for translation tools with one trans-unit per entry, the context as its resname, a plural entry as a group of trans-units, and each target's state as needs-translation, needs-review-translation for fuzzy, translated or final, with notes and source references.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MO files on the dialor turn it to pick what to do

A translation file your tools can open.Each MO entry becomes a trans-unit in an XLIFF 1.2 file.

  1. What you get

    One XLIFF 1.2 file with one trans-unit for every entry in the catalog. The context of an entry is kept as the resname of its trans-unit.

    An entry with plural forms comes out as a group of trans-units, so the forms stay together.

  2. States and notes

    Each target gets a state. A translated entry is marked translated or final. A fuzzy entry is marked needs-review-translation. An entry with no translation is marked needs-translation.

    Notes and source references are kept with the entries they belong to.

  3. What it leaves behind

    Obsolete entries are dropped. They do not appear in the XLIFF file.

MO and XLIFF.What each format is.

The formats

From · MO

Gettext MO

Compiled gettext catalogs that programs load at run time, made from PO files by msgfmt.

Extensions
.mo .gmo
MIME type
application/x-gettext-translation
Kind
Text and data
To · XLIFF

XLIFF 1.2

XLIFF 1.2, the XML exchange format of translation tools, with trans-units, states and notes.

Extensions
.xlf .xliff
MIME type
application/xliff+xml
Kind
Text and data

In your code.The same MO to XLIFF conversion through the API, for your app or your agent.

terminal
$ cv convert report.mo report.xlf
$ cv convert report.mo report.xlf

Questions.What people ask about MO to XLIFF.

01OF 04

Each entry becomes one trans-unit, with its context as the resname. A plural entry becomes a group of trans-units.

A fuzzy entry gets the state needs-review-translation. Entries without a translation get needs-translation.

Yes. Notes and source references are kept with their entries.

No. Obsolete entries are dropped and do not appear in the XLIFF file.

More conversions.Other ways in and out of MO and XLIFF.