Re: [PyQt] Internationalization and PyQt

2008-10-05 Thread Giovanni Bajo
On sab, 2008-10-04 at 20:31 +0200, Thorsten Kampe wrote: > So why does my code (that does not query the locale and choose the > right tranlation file according to the locale) work? Why it should not? QTranslator.load() takes care of embedding the locale name into the filename by itself (see the d

[PyQt] Internationalization and PyQt

2008-10-04 Thread Thorsten Kampe
Hi, I've "upgraded" a PyQt demo application of mine so it includes not only a translation of the user interface in German but also in French. My problem is that it simply works but I think it shouldn't (no don't laugh). This is the code in my demo application (called my_application) that does