This particular piece of code works very well on Linux, but not on Windows:
locale.setlocale(locale.LC_ALL, '')
gettext.bindtextdomain('exposong', LOCALE_PATH)
gettext.textdomain('exposong')
Code from here
Even if i specify the locale in locale.setlocale
(I tried different formats) it doesn't work.
One problem might be that the locale is not set in the environment variables (but I use a German Windows version; tested on XP and Vista). If I do "Set Lang=de_DE"
on the command line, everything works as expected.
Any ideas?