Hello all,
my application is being translated to the default language at startup with
this code:
try:
locale.setlocale(locale.LC_ALL, '')
except:
pass
for module in (gettext, gtk.glade):
module.bindtextdomain(APP_NAME, LOCALE_PATH)
module.textdomain(APP_NAME)
There is only 1 computer I found this not working on. So for this person and
for others who just want a different language, I want to add an option to
change it.
The problem is that if I want to set the locale during runtime, I get the
locale exception (locale.Error).
How can this be done?
Cheers,
Timo
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/