[PyQt] Internationalization and PyQt

Giovanni Bajo rasky at develer.com
Sun Oct 5 11:46:15 BST 2008


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 documentation).
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list