Hello, i have app that supports 3 languages, is it possible to detect default system language?
S Svinja macrumors newbie Original poster Oct 27, 2008 27 0 Nov 3, 2008 #1 Hello, i have app that supports 3 languages, is it possible to detect default system language?
J jnic macrumors 6502a Oct 24, 2008 567 0 Cambridge Nov 3, 2008 #2 Code: NSUserDefaults* defs = [NSUserDefaults standardUserDefaults]; NSArray* languages = [defs objectForKey:@"AppleLanguages"]; NSString* preferredLang = [languages objectAtIndex:0]; http://developer.apple.com/document...rnational/Articles/ChoosingLocalizations.html
Code: NSUserDefaults* defs = [NSUserDefaults standardUserDefaults]; NSArray* languages = [defs objectForKey:@"AppleLanguages"]; NSString* preferredLang = [languages objectAtIndex:0]; http://developer.apple.com/document...rnational/Articles/ChoosingLocalizations.html