Xcode when adding localization not all storyboards are found

余生颓废 提交于 2020-02-24 00:39:11

问题


When I try to add localization to my app by clicking on project-> localization -> + and add a new language the popup will only show two storyboards even though my app has three.

One storyboard file is missing from the popup


回答1:


You need do following steps :

  1. First you need to create new string file.
  2. after select this string file and In file inspector and click on Localize button . then you can see string file along with storyboards.




回答2:


Adding Localizable.strings is a needed. If you still don't find some storyboards when adding a language, select the storyboards that don't appear and click localize button on the File Inspector in the right pane. Now when you add a new language the popup will show those missing storyboards




回答3:


I had to open my storyboard and add a base localization, then it would show up in the popup when I wanted to add a new language



来源:https://stackoverflow.com/questions/40580501/xcode-when-adding-localization-not-all-storyboards-are-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!