Friday, February 24, 2017

Enable Localization for Swift Project

My app is closing to finish stage. One feature I would like to have is to enable localization. Spending about hours exploration, I found the way to enable localization for my Swift project in Xcode 8.2.1.

The localization has to be set at project level. Open project settings first. Enable level panel and make sure to select project, you will find Localization section in Info section.

Then press + to add languages you like to support.




After this feature enabled, you may get prompt to enable localization for string, default plist and other localizable items. You can also click on Localizations in high panel for some resource files to add localization.

Read More...