Building Angular apps with internationalization (i18n) in mind
summary
Adobe describes internationalizing a mixed Angular/React/backbone/jQuery codebase by marking strings, running ng xi18n to extract XLF, translating, snapshot- and behavior-testing per locale, then using the Angular compiler to emit per-locale builds. Continuous localization pipelines and a pre-push hook that injects machine translations for length tests are practical. Recommendations include the Intl API, moment.js, Globalize.js and i18next for formats and plurals, use localeCompare for sorting, CSS Grid/Flex and postcss-rtl, and sizing rules like 300% expansion for short labels.
AI-written summary · about
chapters (6)
- 0:00Start
- 15:00FORMAT ALL NUMBERS
- 16:25Test all the things!
- 17:57Use Angular compiler to generate new version of app for each locale
- 22:47Keep strings separate from graphics, icons, and photos
- 25:08TRANSLATE DOCUMENTATION
related talks
53mLost in Translation
20mBetter i18n for your Angular apps
23mInternationalization, New and Upcoming Features
23mTransloco: Internationalization in Angular Done Right
39mThink globally, act locally with i18n on the web
35mAngularJS and i18n
25mLocalization: Implementation and Testing... Locally
22mInternationalizing React
