XCode Base国际化不起作用 [英] XCode Base internationalization doesn't work
问题描述
我正在尝试本地化我的应用。
我注意到如果我添加一种语言,每个本地化文件都会加倍。
通过这种方式维护代码或故事板是不可能的,所以我了解到我需要 Base国际化。
i'm trying to localize my app. I noticed that if I add a language every localized file become doubled. In this way it's impossible to maintain code or storyboard so I learnt that I need Base internationalization.
问题在于我在xcode项目设置中选中了该复选框,它显示的窗口没有无需选择,是否有人知道如何修复此问题?
The problem is that when I select that checkbox in xcode project setting it shows a window without nothing to select, does anyone know how to fix this?
这是一个截图
推荐答案
首先,您需要转到故事板文件,打开右侧的栏,然后转到显示文件检查器,最远的选项卡往左边。然后,向下滚动并单击本地化。在此之后,当您选中Use Base Localization时,您应该会看到故事板。
First, you need to go to your storyboard file, open the bar on the right side, and go to Show the File Inspector, the furthest tab to the left. Then, scroll down and click localize. After this, when you check Use Base Localization, you should see the storyboard appear.
这篇关于XCode Base国际化不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!