本地化 XIB 未显示所有 IBActions、outlet 和图片
我的本地化 xib 遇到问题。 我首先创建了英文版 xib,然后将它们本地化,&添加了其他本地化。 它在应用程序中也运行良好。 但是当我用 IB 打开其他语言的 xib 时,我无法获取所有的插座和信息。 IBA行动。 看起来它只采用了我创建本地化文件时存在的那些文件,&不显示新添加的。
文件没有更新吗?
注意:我的其他团队成员也做了同样的事情&他们没有问题。 我也尝试删除 &创建了所有新的本地化文件,然后也没有任何变化。
我无法识别问题,我陷入了这个问题&无法进行进一步的开发。
请帮忙..:(
i m getting a problem with my localized xib.
I have created english version xib first, then made them localized, & added other localization.
it works fine in app also.
But when i open other language xib with IB, i m unable to get all outlets & IBActions.
It seems like it is taking only those one that were present when i created the localized file, & not showing newly added one.
Does file not getting updated?
Note : My other team member done the same thing & they don't have problem.
i also tried to removed & created all new localized file then also no change.
I m unable to identify the problem, i m stuck on this problem & cannot proceed with further development.
Please help .. :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您有不同语言的 Xib,当您更改英语语言时,它们不会自动更新。
相反,您应该使用
ibtool
合并新更改(在终端中输入man ibtool
以了解其选项),或者使用专用应用程序,例如 iLocalize。一般来说,一直更新所有本地化可能是一个很大的问题,有时大型更改无法自动很好地合并。你需要小心这一点。
If you have Xibs in different languages, they don't get updated automatically when you change the English one.
Instead, you should either merge the new changes using
ibtool
(typeman ibtool
in Terminal to learn its options), or use a dedicated application like iLocalize.In general, it can be quite an issue to update all the localizations all the time and sometimes large changes can't be merged well automatically. You need to be careful about that.