Re: [Pythonmac-SIG] Get the locale on OSX

2007-12-05 Thread Ronald Oussoren
On Wednesday, December 05, 2007, at 02:15PM, "Chris Van Bael" <[EMAIL PROTECTED]> wrote: >On Dec 3, 2007 9:26 AM, Chris Van Bael <[EMAIL PROTECTED]> wrote: >> On Dec 3, 2007 8:40 AM, Nicholas Riley <[EMAIL PROTECTED]> wrote: >> > On Sun, Dec 02, 2007 at 03:18:14PM +0100, Chris Van Bael wrote: >>

Re: [Pythonmac-SIG] Get the locale on OSX

2007-12-05 Thread Chris Van Bael
On Dec 3, 2007 9:26 AM, Chris Van Bael <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007 8:40 AM, Nicholas Riley <[EMAIL PROTECTED]> wrote: > > On Sun, Dec 02, 2007 at 03:18:14PM +0100, Chris Van Bael wrote: > > > I'm trying to port an python application which runs fine on Windows > > > and Linux to OSX.

Re: [Pythonmac-SIG] Get the locale on OSX

2007-12-03 Thread Chris Van Bael
On Dec 3, 2007 8:40 AM, Nicholas Riley <[EMAIL PROTECTED]> wrote: > On Sun, Dec 02, 2007 at 03:18:14PM +0100, Chris Van Bael wrote: > > 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.

Re: [Pythonmac-SIG] Get the locale on OSX

2007-12-02 Thread Nicholas Riley
On Sun, Dec 02, 2007 at 03:18:14PM +0100, Chris Van Bael wrote: > 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, >

[Pythonmac-SIG] Get the locale on OSX

2007-12-02 Thread Chris Van Bael
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