I'm having trouble getting started with localization. Specifically, the UI I see in XCode (7.1) is different than the UI on Apple's docs site.
According to Apple's docs, there should be a "Localizations" section under my project info, but I can't find it.
(From https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/InternationalizingYourUserInterface/InternationalizingYourUserInterface.html)
Similarly, I don't see a checkbox for "base internationalization", and if I try to add languages via Editor -> Add Localization all the menu items are unselectable.
Right click your project folder, select 'New File' , then scroll down to find 'Strings', select it and click 'Next'. Then name the file as 'Localizable. strings' and click 'Create'.
In Xcode, localization refers specifically to the set of resources for a specific language and region that you support. You add a localization to your project and select the resources you want to include for that language and region.
Click on iOS->App/Single View App->Next. Name your project and select the language as Swift. Select a desired location and click on Create. To start with Localization, click on your Project Name -> go to Info Tab -> Under Localizations, click on the '+' button.
To add on to @wakachamo's answer, click the icon indicated by the red arrow to reveal the "two sections, 'PROJECT' and 'TARGETS'. Select the item under 'PROJECT', and then, select the 'General' tab. You should see it there."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With