Convert TMX to PO

Turn TMX files into PO. A gettext PO file with each entry's context, source text and plural source, translation or plural forms, notes, translator comments, source references, flags and fuzzy mark, obsolete entries as #~ lines, and a header with the language and its plural rule.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A PO catalog from a translation memory.One PO file with the entries, notes and a header for the language.

  1. What you get

    A gettext PO file in one file. Each entry has its context, source text and plural source, and the translation or plural forms. The header carries the language and its plural rule.

    Translator comments, notes, source references and flags come with each entry. The fuzzy mark is kept, and obsolete entries are written as #~ lines.

  2. Which language is the target

    The target is the first language other than the header's source language. A TMX file with further languages loses them, because the PO file holds one target language. Only the first target language is written.

TMX and PO.What each format is.

The formats

From · TMX

TMX Translation Memory

Translation Memory eXchange files of aligned source and target segments.

Extensions
.tmx
MIME type
application/x-tmx+xml
Kind
Text and data
To · PO

Gettext PO

Gettext translation catalogs and .pot templates, with each message's context, plural forms, notes and fuzzy mark.

Extensions
.po .pot
MIME type
text/x-gettext-translation
Kind
Text and data

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

terminal
$ cv convert report.tmx report.po
$ cv convert report.tmx report.po

Questions.What people ask about TMX to PO.

01OF 04

Yes. The fuzzy mark is kept on each entry, along with its other flags.

They are written as #~ lines in the PO file.

Only the first language other than the header's source language is used as the target. The other languages are dropped.

Yes. Each entry keeps its plural source and plural forms, and the header holds the language's plural rule.

More conversions.Other ways in and out of TMX and PO.