Alex Gaynor added the comment:

I think the code makes what this does much clearer: 
http://hg.python.org/cpython/file/01da7bf11ca1/Lib/gettext.py#l209

There's no reason you can't make your own translation object, and expose it's 
gettext method as as your API, and then you can update the underlying 
translation object to check locales. This is approximately exactly how Django 
works.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18217>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to