我的本地化哪里出了问题?
我有一个 plist 文件,其中包含大量数组、字典、包含字符串数组的字典等。
我执行以下步骤:
clean poject
reset Simulator
运行应用程序,一切正常
我将西班牙语本地化添加到plist文件中,从而产生两个相同的plist文件,因为我还没有进行任何更改
清理项目
重置模拟器
运行应用程序,事情出错了!
首先,工具栏的颜色如下所示:
[self.navigationController.navigationBar setTintColor:[UIColor colorWithRed:0.745f green:0.176f blue:0.306f alpha:1]];
现在是黑色的吗?
我还设置了 Three20 启动器视图,现在没有可见的按钮?
我很茫然,因为我所做的只是创建了 plist 的本地化版本,但尚未对其进行任何更改......那么我做错了什么?
谢谢
I have a plist file that contains numerous arrays, dictionaries, dictionaries that contain arrays of strings etc.
I perform the following steps:
clean poject
reset simulator
run app and all works fine
I add a Spanish localization to the plist file resulting in two identical plist files as I have not made any changes yet
clean project
reset simulator
run app and things go wrong!
For a start off the toolbar that gets its colour like this:
[self.navigationController.navigationBar setTintColor:[UIColor colorWithRed:0.745f green:0.176f blue:0.306f alpha:1]];
is now black?
I also have three20 launcher view in place that now has no buttons visible?
Im at a loss as all I have done is create a localized version of the plist but as yet made no changes in it......so what am I doing wrong?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以本地化plist,刚刚找到这个链接:
http://www.noorselijster19。 com/2011/02/ios/localized-plist/
使用该示例,我复制了 plist 中的结构并获得了所需的结果。
所以 plist 文件的较大内容中有一些东西是错误的......
You can localize plists, just found this link:
http://www.noorselijster19.com/2011/02/ios/localized-plist/
Using that example I replicated the structure in my plist and go a desired result.
So something is amis in the larger content of the plist file.....