[PyQt] i18n howto or sample

peter peter at liedler.at
Fri Jan 25 17:18:51 GMT 2008

In the previous version of my program I used the _("...") syntax for translation.

Now that I am porting the program to pykde4 I am thinking about using i18n("..."). I have searched for an example how to create the message file out of my source code but couldn't find one.

Is the language installed in i18n("...") with 
something = gettext.translation(...)

or do i have to use another syntax.
Thanks for your hint.


More information about the PyQt mailing list