Convert TMX to XLIFF2

Turn TMX files into XLIFF2. An XLIFF 2.0 file with one unit per entry, the context as the unit's name, a plural entry as a group of units, and each segment's state as initial, translated or final, where a fuzzy translation is initial with the substate gettext:fuzzy, with notes, translator comments and source references as notes.

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 translation memory as XLIFF 2.0.One file with a unit for each entry, and the state of each segment.

  1. What you get

    An XLIFF 2.0 file with one unit per entry in the TMX file. The context becomes the unit's name.

    A plural entry becomes a group of units. Notes, translator comments and source references become notes on the unit.

  2. How states are set

    Each segment gets a state of initial, translated or final. A fuzzy translation is marked initial with the substate gettext:fuzzy, so it can be told apart from a plain initial segment.

  3. One target language

    The target is the first language other than the header's source language. Any further languages in the TMX file are dropped.

    If your memory holds several target languages, the output covers only the first one.

TMX and XLIFF2.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 · XLIFF2

XLIFF 2.0

XLIFF 2.0, the newer translation exchange format with units, segments and states.

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

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

terminal
$ cv convert report.tmx report.xlf
$ cv convert report.tmx report.xlf

Questions.What people ask about TMX to XLIFF2.

01OF 04

Each entry becomes one unit. A plural entry becomes a group of units instead.

They are marked initial with the substate gettext:fuzzy.

Yes. Notes, translator comments and source references are written as notes.

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

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