[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,
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 (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/ckane%40apple.com

This email sent to ck...@apple.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to