启动画面语言/本地化支持不起作用,还需要什么吗?
经过一番研究,并尝试过这一点,但由于某种原因它不起作用。这是设置..
在应用程序的“根”中,有一个 Default.png 和一个 [电子邮件受保护]。这些似乎运行良好。
在“root”目录下的 ru.lproj 目录中...默认文件的副本,有一些小的更改。文件已确认已加载到 iPhone.... 等。
当语言设置为俄语时,它会加载高级启动画面而不是俄语屏幕。
为了使其正常工作还需要做其他什么事情吗?
平台是SDK 4.3
After a bit of research, and have tried this, but it is not working for some reason. Here is the setup..
In the "root" of the app there is a Default.png and a [email protected]. These seem to be working fine.
In the ru.lproj directory right under the "root" directory....copies of the Default files with small changes. The files are confirmed to be loaded on the iPhone....etc.
When the language is set to russian, it loads the high level splash instead of the russian screen.
Anything else that has to be done for this to work properly?
Platform is SDK 4.3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你希望它本地化:它们都不应该在根目录中,它们都应该在本地化文件夹中,一个用于 ru,一个用于英语(或其他),
你应该通过 xCode 来完成:
在xCode中选择项目左侧的启动屏幕文件并按“apple+i”(或按工具栏中的蓝色“信息”按钮;
然后在打开的窗口中按左下按钮“使文件可本地化”,然后添加您想要的所有语言...您将在查找器中获得尽可能多的文件夹...现在只需将文件夹中的文件修改为“ru”,“en”或其他...
if you want it to be localized: none of it should be in the root, both of them should be in a localized folder, one for ru, one for english (or else)
you should do it via xCode:
in xCode select the splash screen file in the left part of your project and press "apple+i" (or press the blue "info" button in toolbar;
then in the opened window press the left-bottom button "make file localizable", then add all the language you want... you will get as many folder in finder... now just modify the file in the folders for "ru", "en" or else...