gettext, Python, and Windows: a simple demo

Last time, I discussed some of the issues about localizing a Python app in Windows. This time, I’m providing a simple demo app which shows how localization can be accomplished. To avoid an overly verbose explanation, I’ve set up a GitHub repo with the code, a sample .po file, plus some scripts for easily creating Read more about gettext, Python, and Windows: a simple demo[…]

I18N with gettext and Python on Windows 7

The next major hurdle with J-Ben, which I have not solved yet, involves multi-language support using gettext. In general, Python makes this easy. Python supports gettext-style string substitution via the gettext module. I’ve tested this, and it works great… on POSIX. What about Windows? The problem on Windows is that locale names are different than Read more about I18N with gettext and Python on Windows 7[…]