Docs Guides Reference Icons Charts Bits
  • Theming
    • Colors
    • Sizing
    • Typography
    • Density
    • Motion
    • Overview
    • Styles
    • Headings
    • Paragraphs
    • Links
    • Lists
    • Code
    • wrTypography API
  • Grid,Optional
  • Forms
  • Overlay
  • Mobile & responsive
    • Overview
    • Setup & loaders
    • Usage in templates
    • Interpolation
    • Scopes
    • WrI18n
  • Keyboard
  • Server-side rendering
  • Testing,Updated
  • Content Security Policy
Guide

Translate

Translate your app and ngwr's own labels, and switch the locale at runtime.

At a glance

Switch the locale and every label below follows:
  • wr-pagination
    1–10 of 235
    1 2 3 4 5 … 24 1 / 24
  • wr-select
  • wr-form-field
  • wr-file-upload
    Click to browseor drop files here
  • wr-empty
    No data
  • 'app.hello' | wrT

    Hello, Ada!

Dates and numbers follow LOCALE_ID, so this switch does not move them.

Sections

  • GuideSetup & loadersProviders, loaders and the shipped catalogs.
  • GuideUsage in templatesThe wrT pipe, the wrT directive and the WrI18n service.
  • GuideScopesLoad a feature’s catalog when the feature loads.
  • GuideInterpolationFill {{name}} placeholders with values.
  • ServiceAPI referenceEvery method, signal and provider.
  • PipewrPluralPick the right word form for a count, in any language.
  • PipewrDateFormat a date with a named preset or a token string.
  • PipewrNumberFormat a number, percent or price in the app locale.
2022 – 2026 © Roman Khegayv15.1.0