iOS Quality & ComplianceLesson 70Free preview
Localization
This lesson is part of Swift · All levels
Summary
This lesson discusses localization and internationalization (i18n) to translate applications into different languages of the world. Developers will learn the latest String Catalogs system in Xcode that automatically extracts all SwiftUI display text, sets the plural form (pluralization), and supports dynamic grammar. (.xcstrings)
Key points
- String Catalogs is a modern format in Xcode for managing multi-language translations (.xcstrings)
- The Text component in SwiftUI by default treats the text string as the LocalizedStringKey
- Support automatic pluralisation based on the number of numerical quantities in different languages
- Facilitates the tracking of the language translation progress status directly in the Xcode interface
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.