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 package
Learn how to add the Angular Localize package to your project
Refer to locales by ID
Learn how to identify and specify a locale identifier for your project
Format data based on locale
Learn how to implement localized data pipes and override the locale for your project
Prepare component for translation
Learn how to specify source text for translation
Work with translation files
Learn how to review and process translation text
Merge translations into the application
Learn how to merge translations and build your translated application
Deploy multiple locales
Learn how to deploy multiple locales for your application
Import global variants of the locale data
Learn how to import locale data for language variants
Manage marked text with custom IDs
Learn how to implement custom IDs to help you manage your marked text
Internationalization example
Review an example of Angular internationalization.