Re: PyGTK localisation on Win32

2008-03-30 Thread Dieter Verfaillie
On Thu, 2008-03-27 at 05:21 -0700, Sukhov Dmitry wrote: I have the same problem. I did all as you wrote. gettext translations do work fine. But translations in glade does not work. The only way to turn it on is to set environment variable LANG explicitly before program run: set LANG=ru_RU

Re: PyGTK localisation on Win32

2008-03-27 Thread Sukhov Dmitry
I had no problem with using standard gettext way of doing i18n on Windows with PyGTK an Glade, apart some quirks with LANG environment variable. Basically, the code that works looks like this: import gettext, locale locale.setlocale(locale.LC_ALL, '') if os.name == 'nt':

Re: PyGTK localisation on Win32

2008-03-25 Thread Jarek Zgoda
jwesonga pisze: I've built an app on linux which we have managed to localise into at least three languages, the app runs well using this command LANG=fr_FR python app.py which would translate the app into french. We've tried the replicate the same principle on windows but so far nothing works,

PyGTK localisation on Win32

2008-03-24 Thread jwesonga
I've built an app on linux which we have managed to localise into at least three languages, the app runs well using this command LANG=fr_FR python app.py which would translate the app into french. We've tried the replicate the same principle on windows but so far nothing works, the app will need