Convert QTTS to PO
Turn QTTS files into PO. A gettext PO file with each entry's context, source text and plural source, translation or plural forms, notes, translator comments, source references, flags and fuzzy mark, obsolete entries as #~ lines, and a header with the language and its plural rule.
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 as a gettext catalog.Contexts, plurals, comments and the fuzzy mark carry over into one PO file.
What you get
A single PO file with one entry for each message. Each entry holds its context, its source text and its translation. A message with plural forms keeps its plural source and its plural translations.
The header names the language and its plural rule.
What carries over
Notes, translator comments, source references and flags are kept on each entry. The fuzzy mark is kept too. Obsolete entries stay in the file as
#~lines.When a message has a disambiguating comment, it joins the context after a vertical bar.
Plural messages
A numerus message in the TS file has one source text. The PO entry uses that same text for both the singular and the plural.
QTTS and PO.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
Gettext PO
Gettext translation catalogs and .pot templates, with each message's context, plural forms, notes and fuzzy mark.
- Extensions
- .po .pot
- MIME type
- text
/x -gettext -translation - Kind
- Text and data
In your code.The same QTTS to PO conversion through the API, for your app or your agent.
$ cv convert report.ts report.po$ cv convert report.ts report.poQuestions.What people ask about QTTS to PO.
Yes. The context is written on each entry. If a message has a disambiguating comment, the comment is added to the context after a vertical bar.
Yes. Numerus messages become plural entries, and the header holds the plural rule for the language. The one source text is used for both the singular and the plural.
They stay in the PO file as #~ lines.
Yes. The fuzzy mark is kept on the entry, along with its other flags.