-
Notifications
You must be signed in to change notification settings - Fork 3
Create language and gui
Skamster edited this page Apr 5, 2014
·
1 revision
All the language-stuff is into ts.pro (in root-dir). There you could add more languages and include more files. To build .ts (source)-files, use "pylupdate4 ts.pro". After, there will be a updated version of de.ts and en.ts . You could open them in Qtlinguist to add your infos. When your finished there, use "lrelease ts.pro" and it will create de.qm and en.qm - those are the compiled language-files which are used by the application.
This is even more simple. Just edit ui/main.ui with Qtdesigner. When your finished, go into folder ui and use the following: "pyuic4 main.ui > main.py" and you're done.
HF!