[Pythonmac-SIG] Get the locale on OSX

Chris Van Bael chris.van.bael at gmail.com
Sun Dec 2 15:18:14 CET 2007


Hi,

I'm trying to port an python application which runs fine on Windows
and Linux to OSX.
However, it seems "lang = locale.getdefaultlocale()[0]" doesn't work.
I've searched quite some bit on the Internet and on this mailinglist,
and apparently it is a problem, but I haven't found any solution for
it.
Does anybody here have one?

Thanks,

Chris


More information about the Pythonmac-SIG mailing list