基于 iPhone Three20 的应用程序在设备上运行时显示意外的本地化文本
我已在应用程序的 -info.plist 文件中设置了以下设置,但仍然在真实设备上运行时,我看到的是本地化字符串而不是英语。该应用程序基于 Three20,可能存在什么问题?提前致谢!
<key>CFBundleLocalizations</key>
<string>en-US</string>
<key>CFBundleDevelopmentRegion</key>
<string>en_US</string>
请注意,我在模拟器上没有看到问题。而且,我的 iPhone 设备没有其他国际语言设置,只有英语,我也没有不同的键盘设置。
I have set the following setting in my app's -info.plist file, but still when running on the real device, I am seeing the localized string instead of english. The app is based on three20, what could be wrong? Thanks in advance!
<key>CFBundleLocalizations</key>
<string>en-US</string>
<key>CFBundleDevelopmentRegion</key>
<string>en_US</string>
Please note that I don't see the problem on emulator. And also, my iPhone device has no other language set of international but just English, neither do I have a different keyboard setting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为这与 Three20 有直接关系。
我遇到过一些情况,我必须暂时更改产品名称才能使 xcode 刷新本地化资源。你可以尝试一下。在项目的构建设置中搜索产品名称。
I don't think it's directly related to three20.
I had a few cases that I had to change the product name temporarily to cause xcode to refresh the localized assets. You can try that. Search for the product name in the project's build settings.