Convert QTTS to XLIFF
Turn QTTS 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 QTTS files on the dialor turn it to pick what to do
Translation sources ready for XLIFF tools.Each entry becomes one trans-unit, with its state and notes carried across.
What you get
An XLIFF 1.2 file with one trans-unit for each entry in the Qt Linguist TS file. The context becomes the resname of the trans-unit. Notes and source references come along with it.
A plural entry becomes a group of trans-units. A numerus message has one source text, and that text is used for both the singular and the plural.
How states are set
Each target gets a state. An entry that is not yet translated is marked needs-translation. A fuzzy entry is marked needs-review-translation. Finished entries are marked translated or final.
What changes
The disambiguating comment joins the context after a vertical bar, so both end up in the resname.
Obsolete entries are dropped. They do not appear in the XLIFF file.
QTTS and XLIFF.What each format is.
The formats
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
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 QTTS to XLIFF conversion through the API, for your app or your agent.
$ cv convert report.ts report.xlf$ cv convert report.ts report.xlfQuestions.What people ask about QTTS to XLIFF.
Yes. A plural entry becomes a group of trans-units. The one source text of a numerus message is used for both the singular and the plural.
The context becomes the resname of each trans-unit. If the entry has a disambiguating comment, it follows the context after a vertical bar.
They are marked needs-review-translation, so translation tools can show them for review.
No. Obsolete entries are dropped from the XLIFF file.