Re: OS language identification on Mac Application
Re: OS language identification on Mac Application
- Subject: Re: OS language identification on Mac Application
- From: Kevin Van Vechten <email@hidden>
- Date: Mon, 12 Sep 2005 11:11:25 -0700
This is off-topic for the kernel list. Application questions should
be asked of the darwin-dev or darwin-userlevel lists.
Usually you shouldn't query for the language itself, but provide the
different translations in your bundle, and rely on a function such as
CFBundleCopyLocalizedString() to do the localization lookup for you.
Documentation about this and related functions:
<http://developer.apple.com/documentation/CoreFoundation/Reference/
CFBundleRef/Reference/chapter_2.1_section_5.html>
Documentation about CFBundles in general:
<http://developer.apple.com/documentation/CoreFoundation/Reference/
CFBundleRef/index.html>
And possibly related CFLocale documentation:
<http://developer.apple.com/documentation/CoreFoundation/Reference/
CFLocaleRef/index.html>
- Kevin
On Sep 11, 2005, at 10:29 PM, Karunakar Reddy G wrote:
Hello,
I am working on Mac application using code warrior tool, I need to
display some information on GUI during run time.
The info which I display should be the same language as OS presents.
Is there any API function which can determine the language?
Thanks in advance
Best Regards,
Karunakar
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden