[PyQt] Internationalisation process help
apaku at gmx.de
Thu Oct 18 19:56:16 BST 2007
On 18.10.07 20:42:44, kib2 wrote:
> I'm trying to understand the internationalisation process in a PyQt4 app.
> From my main ui file (in French), I've got a ts one with pylupdate4, then
> translated it to binaries in qm format.
> The resulting file is named 'em.qm' and is in my main app directory.
> But it does not seems to translate anything. I must miss something, but what ?
Did you already look into the Qt documentation
(doc.trolltech.com/4.3/i18n.html)? After extracting the .ts file you
need to open it in linguist and translate all the entries, then let it
build a .qm file and load that file. Only then your app is translated.
i18n doesn't work automatically ;)
You now have Asian Flu.
More information about the PyQt