using locales

Damjan gdamjan at gmail.com
Wed Apr 20 13:07:52 EDT 2005


> Is there some sort of tutorial on locales or the locale module?
> 
> I can't seem to find a list showing all possible locales. 

I think this depends on the platform

> Anyway, I'd love to have a method called get_available_locales to tell
> me what I can use on my machine, or something like that.
> 
> Can anyone tell me how I *do* get these names?

In linux (glibc) you can see all locales with "locale -a".


-- 
damjan



More information about the Python-list mailing list