User experience

Internationalization

Inspect custom message IDs, changing ICU branches, and locale-dependent currency formatting.

Angular 22.3.2 · trace
Lesson flow Mark. Choose. Format. Render.
Mark
Choose
Format
Render

Objective

Distinguish translating a message from formatting the value it contains.

Transcript

Angular 22.3.2

  1. A custom message ID identifies the text in the extracted translation catalog. The ID stays the same while the values shown in the message change.
  2. The plural expression renders different branches for zero, one, and other seat counts. The select expression chooses text for the workshop mode.
  3. Angular’s currency pipe keeps the amount and EUR currency while changing separators and symbol placement for each locale.
  4. This lesson formats two locales inside a fixture. It does not publish a translated site. A localized CLI build can fail on missing translations using i18nMissingTranslation.

Sources