Convert XLIFF to QTTS
Turn XLIFF files into QTTS. A Qt Linguist TS file grouped by context, with each message's source, disambiguating comment, translation or numerus forms, notes, translator comments and locations, unfinished translations marked and obsolete entries marked vanished.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XLIFF files on the dialor turn it to pick what to do
XLIFF translations as a Qt Linguist file.Messages are grouped by context, with their translations and states.
What you get
One Qt Linguist TS file, grouped by context. Each message keeps its source text, its disambiguating comment, and its translation. Notes, translator comments and locations are carried over too.
Translations that are not finished are marked unfinished. Entries that are obsolete are marked vanished.
How contexts are built
A context that contains a vertical bar is split in two. The part before the bar becomes the Qt context, and the part after it becomes the comment.
A numeric trans-unit id is not taken as a context.
Plurals and inline codes
A plural entry keeps only its singular source text, since TS has one. The numerus forms of the translation are kept.
Inline codes keep their text. An empty placeholder such as
<x/>becomes its equiv-text. If it has no equiv-text, it is dropped.
XLIFF and QTTS.What each format is.
The formats
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
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
In your code.The same XLIFF to QTTS conversion through the API, for your app or your agent.
$ cv convert report.xlf report.ts$ cv convert report.xlf report.tsQuestions.What people ask about XLIFF to QTTS.
Yes. They are marked unfinished in the TS file. Obsolete entries are marked vanished.
It is split into the Qt context and its comment. The part before the bar is the context, and the part after it is the comment.
No. A plural entry keeps only its singular source text, since TS has one. The numerus forms of the translation stay.
An empty placeholder becomes its equiv-text. If it has none, it is dropped.