摘要:
NSLocale *locale = [NSLocale currentLocale];NSString *localName = [locale localeIdentifier];这个localName是"多语言环境"设置里的 "区域格式"对应的值,并不是"语言"项对应的值。"语言"项对应的值如下:NSArray *languages = [NSLocale preferredLanguages];NSString *currentLanguage = [languages objectAtIndex:0]; 阅读全文