[Interest] Translating JSON files

Robert Hairgrove evorgriahr at hispeed.ch
Tue Jun 18 12:21:40 CEST 2019


On 17.06.19 21:41, Mitch Curtis wrote:
> Is there a way to translate data that's not stored in a C++ or QML file, like JSON? I have a bunch of user-facing strings in a JSON file that will eventually need to be translated, and there doesn't seem to be any solution for this.
>
Take a look at Translation Toolkit (it's an open source project, I 
believe written in Python):

http://docs.translatehouse.org/projects/translate-toolkit/en/latest/index.html

They have conversion tools for many popular formats and languages 
including JSON. Also, the Qt .ts file format seems to be supported 
(click on the link to the "Supported formats" page).

HTH,
Bob Hairgrove



More information about the Interest mailing list