Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get current language



Urgh. I wasn't aware it had actually been documented. That wouldn't have been my preference (no pun intended).

OK, well, I guess it *is* supported, but you still need to worry about canonicalization. I will try to note a "best practices" approach in a reply later today.

Deborah Goldsmith
Internationalization, Unicode Liaison
Apple Computer, Inc.
email@hidden

On Mar 7, 2005, at 11:44 PM, Alexey Proskuryakov wrote:

On Mon, 7 Mar 2005 15:38:59 -0800 Deborah Goldsmith <email@hidden> wrote:
On Mar 7, 2005, at 6:28 AM, Takehiko Abe wrote:
CFPreferencesCopyValue with the key "AppleLanguages"
I have to warn you: this preference is not documented and Apple does not support this officially. I would not rank it high on a list of risks, but I had to say it.

It appears in official documentation several times:

http://developer.apple.com/documentation/Cocoa/Conceptual/ Internationalization/Concepts/InternatSupport.html
http://developer.apple.com/documentation/Cocoa/Conceptual/ UserDefaults/Concepts/DefaultsDomains.html
http://developer.apple.com/documentation/MacOSX/Conceptual/ BPInternational/Concepts/LanguagePrefs.html
http://developer.apple.com/documentation/CoreFoundation/Conceptual/ CFLocales/Articles/CFLocaleConcepts.html


"You can programmatically retrieve the array of language preferences from System Preferences using the key AppleLanguages"

- WBR, Alexey Proskuryakov

_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: Get current language (From: "Aandi Inston" <email@hidden>)
 >RE: Get current language (From: "Takehiko Abe" <email@hidden>)
 >Re: Get current language (From: Deborah Goldsmith <email@hidden>)
 >Re: Get current language (From: "Alexey Proskuryakov" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.