Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11269 > unrolled thread

Re: problem with GTK language

Started byLaszlo Nagy <gandalf@shopzeus.com>
First post2011-08-12 13:14 +0200
Last post2011-08-12 13:14 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: problem with GTK language Laszlo Nagy <gandalf@shopzeus.com> - 2011-08-12 13:14 +0200

#11269 — Re: problem with GTK language

FromLaszlo Nagy <gandalf@shopzeus.com>
Date2011-08-12 13:14 +0200
SubjectRe: problem with GTK language
Message-ID<mailman.2218.1313147655.1164.python-list@python.org>
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,  '')


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web