What problem does it solve?
Provides prescriptive guidance and operational instructions for implementing internationalization and localization in Angular applications, reducing errors when extracting messages, configuring locales, and producing localized builds and runtime translations.
Core Features & Use Cases
- Message extraction & tooling: Guidance for marking text, extracting messages with ng extract-i18n, and using $localize for in-code messages.
- Build and runtime localization: Instructions for configuring angular.json locales, building multiple-language bundles with --localize, and lazy-loading runtime translations.
- Integration & alternatives: Advice for using @angular/localize and optional libraries like @ngx-translate or transloco for dynamic translation loading; use case: prepare an app for English and Spanish with localized production builds and runtime fallbacks.
Quick Start
Use the angular-i18n skill to generate step-by-step instructions to extract translation messages, configure angular.json locales for en and es, and build localized production bundles.