problem with GTK language
Laszlo Nagy
gandalf at shopzeus.com
Fri Aug 12 07:14:04 EDT 2011
On 2011-08-10 16:22, Peter Irbizon wrote:
> Hello,
> I have strange problem with gtk language in pygtk. When I run .py file
> it shows all gtk labels in my default windows language (slovak). But
> when I compile it with py2exe and run exe file all labels are in
> english. Why this happens? How can I define on program startup which
> language to use? I would like to choose between english and slovak. I
> tryed to set locals in my application but no luck. What am I doing wrong?
Do you have this in your main program?
import locale
locale.setlocale(locale.LC_ALL, '')
More information about the Python-list
mailing list