如何在没有情节提要的情况下应用本地化 [英] How to apply localization without Storyboard

查看:57
本文介绍了如何在没有情节提要的情况下应用本地化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不在此项目中使用情节提要或xib(完整代码)
当我添加新的本地化时,它在列表中没有显示任何文件,并且当我按完成"时,没有创建任何文件夹.

I don't use storyboard or xib for this project (full code)
When I add new localization, it shows no file in the list, and when I press Finish, no folder created.

推荐答案

您需要一个Localizable.strings文件.如果已经拥有该文件,请在左侧面板中选择文件.然后,点击右侧面板中应显示本地化..."的按钮

You need a Localizable.strings file. If you already have that, select the file in the left panel. Then, click the button that should be in the right panel that says "Localize..."

完成此操作后,您应该可以按照尝试的方式添加其他本地化版本.

Once you do this, you should be able to add other localizations the way you were trying to.

这篇关于如何在没有情节提要的情况下应用本地化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆