~/talk

Building Angular apps with internationalization (i18n) in mind

Talkat AngularConnect 2019 · 2019-09-19..09-20· [angular, web-platform]
slides:none on file

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

  1. 0:00Start
  2. 15:00FORMAT ALL NUMBERS
  3. 16:25Test all the things!
  4. 17:57Use Angular compiler to generate new version of app for each locale
  5. 22:47Keep strings separate from graphics, icons, and photos
  6. 25:08TRANSLATE DOCUMENTATION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.