[PyQt] Pyqt Translation

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Thu Jan 31 12:45:49 GMT 2013


Le 31/01/13 13:23, uahmed a écrit :
> Vincent , Should i make a Qt project and include all the python files
> to it ? In those python files i use Pyqt for updating windows text etc  .
>
> On Thu, Jan 31, 2013 at 3:12 PM, uahmed <gleam.uahmed at gmail.com
> <mailto:gleam.uahmed at gmail.com>> wrote:
>
>     Hi
>
>     Thanks for the reply . Is there any way to do tranlsation with
>     '.ui'  file format or with .py file . I am not using QtCreator i
>     did whole code from scratch and i make the other windows in
>     QtDesigner which generate the '.ui' file and than i use them in my
>     code .
>
I've never used QtCreator.

I convert my .ui files to .py, I update the file .pro if necessary and I
run:

pylupdate4 -noobsolete oqapy.pro

(oqapy is my app) after that, I open the .ts file with QLinguist.


More information about the PyQt mailing list