Convert QTTS to JSON
Turn QTTS files into JSON. JSON for agents with the source and target languages and one object per entry holding its context, source and plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.
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 entries as JSON.One file with the languages and one object for each entry in the TS file.
What you get
A single JSON file that holds the source and target languages and one object per entry. Each object carries the entry's context, source text, translation, state, notes, comments, source references, flags and an obsolete mark.
An entry with plural forms keeps its plural source and its translation forms in the same object. The state stays with the entry, so you can tell which ones are unfinished.
How entries are shaped
The disambiguating comment joins the context after a vertical bar. A context named Menu with the comment Open reads as Menu|Open.
A numerus message has one source text in the TS file. In the JSON, that one text is used for both the singular and the plural source.
QTTS and JSON.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
JSON
JSON, the data format of every API.
- Extensions
- .json
- MIME type
- application
/json - Kind
- Text and data
In your code.The same QTTS to JSON conversion through the API, for your app or your agent.
$ cv convert report.ts report.json$ cv convert report.ts report.jsonQuestions.What people ask about QTTS to JSON.
Yes. Each entry keeps its state, so unfinished entries are marked as such in the JSON.
It joins the context after a vertical bar. The context and the comment sit together in one value.
The entry keeps its plural forms. Its one source text is used for both the singular and the plural.
Yes. Each entry has an obsolete mark, so you can tell which ones are obsolete.