Map Linux locale codes to Windows locale codes?

python at bdurham.com python at bdurham.com
Tue Dec 14 14:27:07 EST 2010


Is there a way to map Linux locale codes to Windows locale codes?

Windows has locale codes like 'Spanish_Mexico'. We would like to
use the more ISO compliant 'es_MX' locale format under Windows.

Is there a resource or API that might help us with this mapping?

Babel is not an option for us since we're using Python 2.7.

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101214/5c100e9c/attachment-0001.html>


More information about the Python-list mailing list