Start Guides Reference Icons Animations
Theming
  • Colors
  • Sizing
  • Typography
  • Density
  • Motion
  • Theme builder
  • Overview
  • Headings
  • Paragraphs
  • Links
  • Lists
  • Code
  • wrTypography API
GridReactive formsOverlayMobile & responsive
  • Overview
  • Setup & loaders
  • Usage in templates
  • Interpolation
  • Scopes
  • WrI18n API
KeyboardServer-side renderingTestingMCP serverAgent skillRegistryContent Security Policy
Service

Translate

Reactive i18n for ngwr apps. The active locale lives on a signal, catalogs load lazily through a swappable loader, and double-brace placeholders interpolate at render time. Scopes let feature modules ship and load their own catalogs.

At a glance

ngwr/i18n

Save . Cancel

One service, one signal — pipe / directive / inject. Switch locales without re-bootstrapping.

Active locale:

Sections

  • Setup & loaders

    Wire `provideWrI18n` plus a static or HTTP catalog loader. Two-snippet bootstrap.

  • Usage in templates

    Three call sites — `| wrT` pipe, `[wrT]` directive, or `inject(WrI18n)` for code.

  • Scopes

    Feature-scoped catalogs load on demand. Ship the root, lazy-load the rest.

  • Interpolation

    `{{name}}` placeholders and helper formatters for plurals, dates, numbers.

  • API reference

    Every method, signal, provider and template helper on `WrI18n`.

2022 – 2026 © Roman Khegayv14.5.1