This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex
Recipients alex, barry, r.david.murray
Date 2013-06-14.21:46:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371246395.88.0.716354133389.issue18217@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-06-14 21:46:35alexsetrecipients: + alex, barry, r.david.murray
2013-06-14 21:46:35alexsetmessageid: <1371246395.88.0.716354133389.issue18217@psf.upfronthosting.co.za>
2013-06-14 21:46:35alexlinkissue18217 messages
2013-06-14 21:46:35alexcreate