Info.plist(片段)
InfoPlist.Strings(片段,本地化)
project.pbxproj(片段)
尽管设备设置设置为西班牙语和西班牙作为地区。使用此代码段:
if let text = Bundle.main.infoDictionary?["CFBundleDevelopmentRegion"] as? String {
print("CFBundleDevelopmentRegion value is \(text)")
}
价值仍然回报en
是否可以本地化CFBundleDevelopmentRegion
价值?