Localization Basics

When you want an app to support many languages, you need to write only one app. iOS makes it easy to dynamically update your interface based on the user’s language preferences.

To find those preferences, in the simulator or on a device, open the Settings app, tap General, and then tap International. You should see a screen like the first one in Figure 5-1. Tap Language and then scroll through the list. When you choose an item from the list, the system updates the interface with the new language. The same choice enables apps to update. The third screen, which appears after you tap Region Format on the International screen, allows you to change how numbers and dates are presented.

Figure 5-1 International settings

You localize ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.