本地化 CFBundleDevelopmentRegion 值

问题描述

Info.plist(片段)

enter image description here

InfoPlist.Strings(片段,本地化)

enter image description here

enter image description here

project.pbxproj(片段)

enter image description here

尽管设备设置设置为西班牙语和西班牙作为区域。使用此代码片段:

 if let text = Bundle.main.infoDictionary?["CFBundleDevelopmentRegion"] as? String {
    print("CFBundleDevelopmentRegion value is \(text)")
 }

值仍然返回 en

enter image description here

是否可以本地化 CFBundleDevelopmentRegion 值?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)