Skip to main content

localization

Description

  • Aggregated localization context composed of market, language, currency, and available languages.

Source

  • If any of market, lang, or currency exist
  • {{localization}}

Type

  • Object

Key Fields

  • market: string or object
  • lang: string
  • currency: object (see currency)
  • languages: array of string

Example

{
"market": "EG",
"lang": "ar",
"currency": { "currencyCode": "EGP", "currencySymbol": "ج.م" },
"languages": ["ar", "en"]
}

Notes

  • Use alongside money/date/number formatters to render localized UI.