Convert XLIFF to XLIFF2

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

Your XLIFF 1.2 file in XLIFF 2.0.Units, states and notes carry over into the newer format.

  1. What you get

    One XLIFF 2.0 file with one unit per entry. The context becomes the unit's name. A plural entry becomes a group of units.

    A numeric trans-unit id is not taken as a context, so it does not become a unit name.

  2. States and notes

    Each segment's state becomes initial, translated or final. A fuzzy translation is initial with the substate gettext:fuzzy.

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

  3. 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 XLIFF2.What each format is.

The formats

From · 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
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 XLIFF to XLIFF2 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 XLIFF to XLIFF2.

01OF 04

It is written as initial with the substate gettext:fuzzy.

A plural entry becomes a group of units.

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

It becomes its equiv-text. If it has none, it is dropped.

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