How switch translation file
-
wrote on 3 Jun 2022, 17:13 last edited by
I've created 2 .ts file and used Qt Linguist to write the translated string.
Now how can I use them in my code to switch languages and test them? -
Hi
Using this class
https://doc.qt.io/qt-5/qtranslator.html -
Hi
Using this class
https://doc.qt.io/qt-5/qtranslator.htmlwrote on 3 Jun 2022, 18:40 last edited by TheEnigmist 6 Mar 2022, 19:31@mrjj
Thx, so I need to use "Release" in Qt Linguist to create .qm file and put them inside .qrcUsing the snippet in that link I can test other languages as well.
2/3