ios - 本地化语言设置 iPhone

标签 ios iphone

我在我的 iOS 项目中添加了两种语言本地化

  1. 西类牙语
  2. 阿根廷西类牙语 (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.

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html#//apple_ref/doc/uid/20002144-BBCEGGFF

关于ios - 本地化语言设置 iPhone,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20139021/

相关文章:

iphone - 如何获取 Google Drive 文件的公共(public) URL?

java - 检测 iOS Cordova 4.0 应用程序中的内存泄漏

android - 如何通过蓝牙 (LE) 将图像传输到桌面应用程序

iphone - 如何将混合应用程序集成到 ios native 应用程序中?

ios - 屏幕截图,包括带有叠加按钮的 AVCaptureVideoPreviewLayer

iphone - 为什么这是一个无限循环?

ios - 如何查看 iPhone 模拟器的设备 ID?

ios - NSObject 在 StoryBoard/Interface Builder 中的作用是什么?

ios - UIView 用动画分成两部分

iphone - 如何在 iPhone 应用程序中使用 ABAddressBookRef?