Convert XLIFF to MO
Turn XLIFF files into MO. A compiled gettext MO file with the finished translation of every entry, its context and its plural forms, as programs load them at run time.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XLIFF files on the dialor turn it to pick what to do
A compiled catalog your program can load.Finished translations from an XLIFF file, ready for gettext at run time.
What you get
One MO file with the finished translation of every entry, its context and its plural forms. Programs load it at run time as they do any compiled gettext catalog.
A numeric trans-unit id is not taken as a context, so ids that are only numbers do not show up as message contexts in the catalog.
What it leaves out
Fuzzy and untranslated entries are left out, as gettext ignores them. Obsolete entries are left out too.
Notes for translators, translator comments and source references are dropped. The MO file holds the translations, not the comments around them.
Inline codes and placeholders
Inline codes keep their text. Empty placeholders such as <x/> become their equiv-text. When a placeholder has no equiv-text, it is dropped.
XLIFF and MO.What each format is.
The formats
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
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
In your code.The same XLIFF to MO conversion through the API, for your app or your agent.
$ cv convert report.xlf report.mo$ cv convert report.xlf report.moQuestions.What people ask about XLIFF to MO.
No. Fuzzy and untranslated entries are left out, as gettext ignores them. Only finished translations are kept.
Yes. Each entry keeps its context and its plural forms along with its translation.
They are dropped. Notes for translators, translator comments and source references do not appear in the MO file.
It becomes its equiv-text. If it has no equiv-text, it is dropped.