寻找iOS中所有可用语言的列表 [英] Looking for a list of all available languages in iOS
问题描述
我一直在网上搜索,但我似乎无法找到iPhone,iPod和iPad移动设备上所有可用语言的完整列表(所有语言都列在一个列表中,如果不同则单独列出)
I've been searching the net, but I don't seem to be able to find a comprehensive list of all languages available on the iPhone, iPod and iPad mobile devices (one list for all, or separate lists if different)
当我通过设置>在iPhone上进行选择时一般>国际>语言
我认识大多数,但不是全部。例如,iOS 4.2.1中似乎有33种不同的语言
When I go thru the selection on my iPhone with Settings > General > International > Language
I recognise most of them, but not all. For example there seems to be 33 different languages in iOS 4.2.1
有人可以帮我们指点一个列表吗?或者也许如何自己制作一个。
Can someone please help pointing me to a list ? Or perhaps how to make one myself.
推荐答案
没有明确的公布列表(据我所知),因为简单即使在次要版本更新中,语言环境列表可能会更改。
There is no definite published list (as far as I know), for the simple reason that the locales list might change even in minor version updates.
您获得此类列表的关闭是iPhone技术规范的语言支持部分:
- iPhone 4
- iPhone 3GS
- iPhone 3G
- iPhone 2 实际上缺少此部分
The closes you get to such list is the Language Support section of the iPhone technical specs:
- iPhone 4
- iPhone 3GS
- iPhone 3G
- iPhone 2 is actually missing this section
如果您想要特定 iOS版本支持的语言和语言环境的权威列表 ,你应该编写一个使用 NSLocale :: availableLocaleIdentifiers
获取列表, NSLocale :: componentsFromLocaleIdentifier:
提取规范代码(或相应的 CFLocale
)。
If you want the definitive list of languages and locales supported by specific iOS version, you should write a simple program that uses NSLocale::availableLocaleIdentifiers
to obtain the list, and NSLocale::componentsFromLocaleIdentifier:
to extract the canonical codes (or the corresponding CFLocale
).
这篇关于寻找iOS中所有可用语言的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!