How to use Language manager in Qt...
Hello Everyone, I made a web browser in Qt ...
Its working fine and now i want to add language manager in this.
But i have no more idea about language manager .
I did lots of google and i got there are two tools Iupdate and IRelease that covert our file in .ts.
but i din't get step by step solution please help me how to do this.
Thanks @sierdzio for reply ..but plzz tell me how to generate .ts file for hindi and other local indian language...
Add the languages you need to "TRANSLATIONS":http://doc.qt.io/qt-5/qmake-variable-reference.html#translations variable in qmake
Run lupdate to create those TS files
Open those TS files in Linguist application, translate them
Click "release" in Linguist or run lrelease to generate QM files
Use those QM files in your application to enable translations (using QTranslator)
Thank u so much @sierdzio..:)
U r doing very good job ..thanx a lot
You are welcome, and thank you. Happy coding!
how to create Iupdate and Irelease if there are some video tutorial plzz provide the link...Thanks
[quote author="prabhatjha" date="1419343470"]how to create Iupdate and Irelease[/quote]
What do you mean? Those binaries are bundled with every Qt installation, and are compiled by default when building from source.
The process of creating translations is well described in the documentation + in the official Qt book.
For videos - I don't know. Try voidrealms on YouTube - this guy has created hundreds of tutorials for Qt and a lot of people say they are very well made.