Angular Internationalization (i18n)
Internationalization, sometimes referenced as i18n, is the process of designing and preparing your project for use in different locales around the world. Localization is the process of building versions of your project for different locales. The localization process includes the following actions.
- Extract text for translation into different languages
- Format data for a specific locale
A locale identifies a region in which people speak a particular language or language variant. Possible regions include countries and geographical regions. A locale determines the formatting and parsing of the following details.
- Measurement units including date and time, numbers, and currencies
- Translated names including time zones, languages, and countries
For a quick introduction to localization and internationalization watch this video:
Learn about Angular internationalization
Add the localize packageLearn how to add the Angular Localize package to your project
Refer to locales by IDLearn how to identify and specify a locale identifier for your project
Format data based on localeLearn how to implement localized data pipes and override the locale for your project
Prepare component for translationLearn how to specify source text for translation
Work with translation filesLearn how to review and process translation text
Merge translations into the applicationLearn how to merge translations and build your translated application
Deploy multiple localesLearn how to deploy multiple locales for your application
Import global variants of the locale dataLearn how to import locale data for language variants
Manage marked text with custom IDsLearn how to implement custom IDs to help you manage your marked text
Internationalization exampleReview an example of Angular internationalization.