Is there a way to load the .ts files directly with QTranslator, without compiling them to .qm?
Solved
QML and Qt Quick
-
I'm interested to know if there is a way to load the .ts translation files directly with QTranslator, without having to compile them to .qm first. Is it possible, or there is no way to perform that and the files should always be compiled before be loaded by the QTranslator object?
-
There is no way that I know of. You should always use QM files in QTranslator.
-
ok, thank you very much for the answer
-
I think you can bundle
lupdate
in your application and create qm file on the fly.P.S. : TS files are just xml files, so you can change them in your own application, via user feedback or something else