5. Localization

At this writing, the Apple App Store is available in 155 countries. In most of those countries, English is not the native language. Even if there are people who speak English in a country, it is still best to show your app in a customer’s native language. That person can always choose to show it in English. And even English is not just English. There’s British English, American English, Australian English, Canadian English...and they all have differences.

iOS provides ways to localize entire screens, some or all of your strings, or even just an individual image. Thanks to auto layout, most apps can focus on strings and perhaps on updating some layout constraints.

In this chapter, you add two more languages to the CarValet app ...

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.