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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.