PDA

View Full Version : MAC api equivalent to IsValidLocale in windows




prashantmirge
Apr 4, 2008, 11:56 AM
Is there any api in MAC which is equivalent to IsValidLocale in windows.



larkost
Apr 4, 2008, 10:17 PM
How about asking about the functionality that you want, rather than an API that most of us are not going to know.

lee1210
Apr 4, 2008, 10:32 PM
http://developer.apple.com/documentation/Porting/Conceptual/win32porting/Articles/OSXtext.html

This might be useful. I've never used the function you mentioned in Win32, i've never written a multilingual mac app, but from the MS docs and searching around for cocoa info, that's what I came up with.

-Lee

kainjow
Apr 5, 2008, 12:46 AM
Check out the CFLocale (http://developer.apple.com/documentation/CoreFoundation/Reference/CFLocaleRef/Reference/reference.html) documentation. Probably can do what you want.