system(root) locale

2009-08-31 Thread Maggie Zhang
Hi, Does anyone know how to get the root locale in Objective-c or C or using Unix commands? I tried NSLocale but it didn't give what I want. Though I can get the user's current locale in different ways. Thanks for you help. ___ Cocoa-dev mailing list

Re: system(root) locale

2009-08-31 Thread Chris Kane
[NSLocale systemLocale] returns the root NSLocale. If you are referring to the BSD/Unix-level locale, you can start by looking in /usr/include/xlocale.h, but I don't know anything else about that. Chris Kane Cocoa Frameworks, Apple On Aug 31, 2009, at 12:53 AM, Maggie Zhang wrote: Hi,