各个语言 缩写代码汇总
if([currLanguage hasPrefix:@"zh"]) {
if([currLanguage hasPrefix:@"zh-Hans"]) {
currLanguage = @"zh-Hans";
} else {
currLanguage = @"zh-HK";
}
} else if([currLanguage hasPrefix:@"en"]) {
currLanguage = @"en";
} else if([currLanguage hasPrefix:@"id"]) {
currLanguage = @"id";
} else if([currLanguage hasPrefix:@"ms"]) {
currLanguage = @"ms";
} else if([currLanguage hasPrefix:@"es"]) {
currLanguage = @"es";
} else if([currLanguage hasPrefix:@"ko"]) {
currLanguage = @"ko";
} else if([currLanguage hasPrefix:@"it"]) {
currLanguage = @"it";
} else if([currLanguage hasPrefix:@"ja"]) {
currLanguage = @"ja";
} else if([currLanguage hasPrefix:@"th"]) {
currLanguage = @"th";
} else if([currLanguage hasPrefix:@"pt"]) {
currLanguage = @"pt-PT";
} else if([currLanguage hasPrefix:@"ru"]) {
currLanguage = @"ru";
} else if([currLanguage hasPrefix:@"vi"]) {
currLanguage = @"vi";
} else if([currLanguage hasPrefix:@"de"]) {
currLanguage = @"de";
} else if([currLanguage hasPrefix:@"fr"]) {
currLanguage = @"fr";
} else if([currLanguage hasPrefix:@"tr"]) {
currLanguage = @"tr";
} else if([currLanguage hasPrefix:@"ar"]) {
currLanguage = @"ar";
}