Convert QTTS to XLIFF2

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

Qt Linguist translations in XLIFF 2.0.Each entry becomes a unit, with its context as the unit's name.

  1. What you get

    One XLIFF 2.0 file with one unit per entry. The context of the entry is the name of the unit.

    Notes, translator comments and source references are written as notes. If an entry has a disambiguating comment, it joins the context after a vertical bar.

  2. Plurals and states

    A plural entry becomes a group of units. A numerus message uses its one source text for both the singular and the plural.

    Each segment gets a state of initial, translated or final. A fuzzy translation is written as initial with the substate gettext:fuzzy.

  3. What is dropped

    Obsolete entries are dropped. They do not appear in the XLIFF 2.0 file.

QTTS and XLIFF2.What each format is.

The formats

From · QTTS

Qt Linguist TS

Qt Linguist translation sources with contexts, numerus forms and unfinished marks.

Extensions
.ts
MIME type
application/x-linguist
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 QTTS to XLIFF2 conversion through the API, for your app or your agent.

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

Questions.What people ask about QTTS to XLIFF2.

01OF 04

The context becomes the name of the unit. If the entry has a disambiguating comment, the comment follows the context after a vertical bar.

A plural entry becomes a group of units. The one source text of a numerus message is used for both the singular and the plural.

As a segment with the state initial and the substate gettext:fuzzy.

No. Obsolete entries are dropped from the output.

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