21. Localization

I’m pretty satisfied with Mac Passer Rating, at least as an example, but what would make it perfect would be if I could see it in French (they play football in Québec)—an application named Quart-Efficacité. Users of OS X specify what languages they understand by setting a list of available languages in order of preference in the Language tab of the Language & Region panel of the System Preferences application. When a user’s list sets French at a higher priority than English, I’d like MPR to present menus, alerts, and labels in the French language.

Note

The localization techniques I’ll show you are identical to the ones you’d use for an iOS app.

My plan for this chapter is a bit involved: First, I’ll show you the core concepts ...

Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition 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.