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
>
> 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':
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 wor
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 to