Reputation: 21
In Xcode I'm trying to add another localization to an xib file. In the drop-down list I have 4 languages:
How do I add Chinese to the list so I don't have to type it every time when I add to another xib file?
Upvotes: 2
Views: 1742
Reputation: 299345
You have to type it every time. This is unfortunately hard-coded into Xcode. As best I can tell, they hard-coded it in DevToolsCore (a private framework that Xcode uses, and one of the usual suspects for hard-coded strings).
What's funny is that Xcode even notes this new entry in the project file (look for "knownRegions"). It just doesn't use it for the drop-down.
I recommend opening a radar.
Upvotes: 1