site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Documentation about this and related functions: Documentation about CFBundles in general: And possibly related CFLocale documentation: - Kevin On Sep 11, 2005, at 10:29 PM, Karunakar Reddy G wrote: Hello, 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. <http://developer.apple.com/documentation/CoreFoundation/Reference/ CFBundleRef/Reference/chapter_2.1_section_5.html> <http://developer.apple.com/documentation/CoreFoundation/Reference/ CFBundleRef/index.html> <http://developer.apple.com/documentation/CoreFoundation/Reference/ CFLocaleRef/index.html> 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. This email sent to site_archiver@lists.apple.com