[Python-Dev] Fwd: i18n

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Fri Aug 27 11:35:53 CEST 2010


On Wed, Aug 25, 2010 at 10:42 PM, Anders J. Munch <ajm at flonidan.dk> wrote:

> This could be done as a free-standing library, there's no reason to
> involve core CPython.  Just do message translation at a later stage,
> e.g. in a custom sys.excepthook.

It could be done as a free standing library, but if this idea gets
traction, it might be nice to incorporate it into the standard
library, so inexperienced Pythoneers wouldn't have to do anything more
onerous than "import localizedexceptions" in their interactive
console. Using easy_install or whatever to add a new module can be
tough in, say, a school environment where you don't have control of
the machines you are using. I suppose the sensible thing to do is to
recruit people for an independent project first and see if it gains
traction. If it does, then pull it into the standard library a few
years down the road.

Incidentally, on the topic of translating keywords and such, it looks
like one project to do so, Chinese Python, hasn't been updated since
2004: http://www.chinesepython.org/cgi_bin/cgb.cgi/news/news.html

I just don't think there's much demand for translating the keywords.

-- Carl Johnson


More information about the Python-Dev mailing list