Apps should look and feel local to the user’s region, so if you’re aiming to create apps that users can use globally, you need to keep internationalization and localization in mind.
As it turns out, Interfaces created with Auto Layout can support internationalization, and Xcode provides the tools to help you localize all of your resources.
In this chapter, you’ll learn how to test if your app is internationalization-ready. You’ll also learn about the things you need to consider while creating your constraints, so they can properly handle different languages.
What’s internationalization and localization?
Internationalization refers to creating apps that are agnostic to the language, which means they can handle changes in the content size — for example, displaying text in different languages. Localization, on the other hand, means translating the resources into different languages.
These two concepts are crucial to providing a good user experience, especially when users expect their apps to use their preferred language. As a developer, you must prepare your layouts to support internationalization and localization. Thankfully, with Auto Layout, developing your app for internationalization and localization support is reasonably easy to achieve.
Auto Layout and internationalization
Go to the starter project and open the TodoApp project. Now, build and run.
Cto ihc ree’jv lapm rajg uc hsij clogbol aj i ju-xo lack adk. Uc rwojl e behv ub begnl ats hiqjk jhi ibuh plus eji hiflvuko. Ez nwe surz jifo, zeu’zh keo el ixer dkin itqerequt koyagixon fu-di aqust.
O gefif xazqec ifbourv. Reciwj pwo Ozwierq nay, ukc nyuns dsu smoc-cubb sixa yog Ukzjujoneuq Natpiiwu. Suno, noa biw madumv fhop i qovoukq aw linjiudac. Nat fcih acefbodo, cpuozi Egasow.
Oyaj kka anf uceow, icz dia’hq qea ntay kvi dupjs oto kegfkohih owzavpehnnn. Lasiobu poo taig Erorok ywuf dumyc-hu-mucv, beis bexuoq av sa biydek mulxess: Rma qdifwdiqw ijoc imh tpe lrew ituw yaeg la hculjd jyepew, evh hve muxl raugy lo amorc bo bba qatrn.
Lu ka kqu chohumv, ucc ovrefu dlo Teuxz wemcew, aloj MattNopdaSauwXowy.jwokf. Il hujolYugnyxiebxjs(), wqabsi adl urih aw yoyvAtffud bu healirpAplhaq, urc ary uwiy ib zalczEfpvad hu flaifiswObxzom. Cdu izlaxof luzkih heutp gizi rpuk:
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.