我在我的 iOS 项目中添加了两种语言本地化
- 西类牙语
- 阿根廷西类牙语 (es-AR)
在我的 iPhone 语言设置中,我选中了“esponal”,但它会加载西类牙语字符串。
现在我还需要检查阿根廷西类牙语。那么我需要在 iPhone 中进行哪些设置才能检查阿根廷西类牙语。
最佳答案
您需要将 iPhone 区域设置设置为阿根廷。
编辑: 实际上,这似乎在 iOS 上不受支持:
Important: In iOS, the bundle interfaces do not take dialect or script information into account when looking for localized resources; only the language designator code is considered. Therefore if your project includes language-specific project directories with both a language and region designator, those directories are ignored. The bundle interfaces in OS X do support region designators in language-specific project directories.
关于ios - 本地化语言设置 iPhone,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20139021/