[PyQt] Language of StandardButtons

Lukas LuHe at gmx.at
Thu Jul 31 14:34:03 BST 2008


I have a question about the language of the standard Buttons in my dialogs.
If I create a new button in Qt/C++ the language is German, but I don't get 
this behavior in Python with PyQt 4.4.2

My language is set correctly and it doesn't change anything if I try to set 
the language with ".setLocale(QLocale(QLocale.German, QLocale.Austria))"

>>> QLocale.languageToString(QLocale().language())

Is there an other way to change the default language?

Lukas Hetzenecker

More information about the PyQt mailing list