Localization

WorldTrotter is now internationalized – its interface is able to adapt to various languages and regions. Now it is time to localize the app – that is, to update the strings and resources in the application for a new language. In this section, you are going to localize the interface of WorldTrotter: the Main.storyboard file. You will create English and Spanish localizations, which will create two lproj directories in addition to the base one.

Start by localizing a storyboard file. Select Main.storyboard in the project navigator.

Open the file inspector by clicking the Localization tab in the inspector selector or by using the keyboard ...

Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.