Convert XLIFF2 to XLIFF

Turn XLIFF2 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 XLIFF2 files on the dialor turn it to pick what to do

XLIFF 2.0 turned into XLIFF 1.2.One file for translation tools that read the older format.

  1. What you get

    An XLIFF 1.2 file with one trans-unit for each entry in the XLIFF 2.0 file. The context of an entry is written as its resname. A numeric unit id is not taken as a context.

    A plural entry becomes a group of trans-units. Notes and source references are kept with their entries.

  2. How states carry over

    Each target gets a state that XLIFF 1.2 tools know. A target without a translation is marked needs-translation. A fuzzy target is marked needs-review-translation. A translated or final target keeps the state translated or final.

  3. What changes in the text

    XLIFF 1.2 has no segments inside a unit, so the segments of a unit are joined into one. Inline codes keep their text. Placeholders such as <ph/> become their display text, so the output holds plain text where the placeholder stood.

XLIFF2 and XLIFF.What each format is.

The formats

From · 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
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 XLIFF2 to XLIFF conversion through the API, for your app or your agent.

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

Questions.What people ask about XLIFF2 to XLIFF.

01OF 04

It becomes a group of trans-units in the XLIFF 1.2 file.

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

Its target is marked needs-review-translation, so a translation tool shows it as needing review.

No. The segments of a unit are joined into one.

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