[PyQt] Translating ui files with gettext

Albert Cervera i Areny albert at nan-tic.com
Wed Sep 17 01:07:46 BST 2008

I'd like to use gettext for translating strings in .ui files, are there any 
tricks one can use to do that if they are loaded dynamically "loadUi()"?

It seems that in C++ there's a the '-tr' parameter in 'uic' and I see no 
equivalent to that in pyuic. I might consider using pyuic instead of loadUi() 
if that should allow using gettext...

Albert Cervera i Areny

More information about the PyQt mailing list