So I wanted to try localizing my app. I had one single Storyboard.storyboard in my project folder.
- I checked the "use base internationalization" checkbox and then xcode did something with my files.
- I proceeded to add a second Localization
- Xcode told me it couldn't create some .plist since it already existed.
- I ended up with two storyboards ("Base" and "English" grouped together), which was very strange since the documentation clearly said I would just have to deal with one set of storyboards (when using base intertationalization) and that the other languages would be strings-files:
Base internationalization, a feature introduced in Xcode 4.5, relieves localizers (that is, translators) of the need to modify storyboards and nib files for each language an app supports. Instead, an app has just one set of storyboards or nib files that is localized to the default language; these storyboards and nibs are called the base internationalization. When you add a localization to an app, Xcode generates a strings file for all the text that each storyboard or nib file displays or includes as an accessibility label or hint. Xcode gives the file the name of the storyboard and the extension strings. So if you have a storyboard named MyStoryboard.storyboard, the generated strings file is named MyStoryboard.strings.
- I removed my newly created localization (english) because this was not what I expected
- Now all of the storyboards are gone, even though I only deleted one localization
I have two storyboards in my trash now (one "storyboard.storyboard" and one named storyboardsome numbers.storyboard), but I have no idea 1) which one I should use, and 2) is it supposed to be in some sort of subfolder now since I checked the "base internationalization" option? What about the .plists? I read up on things on this page but it did a better job on telling me where to click than telling me the purpose of the different files, so I have no idea how to reverse this properly
Update:
Now it looks like this when I restart xcode:
I have no clue where to go from here...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…