Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace nls

Index

Variables

defaultLocale: "en" = 'en'
locale: undefined | string = ...
localeId: "localeId" = 'localeId'
localization: Localization | undefined

Functions

  • getDefaultKey(defaultValue: string): string
  • isSelectedLocale(id: string): boolean
  • localize(key: string, defaultValue: string, ...args: FormatType[]): string
  • localizeByDefault(defaultValue: string, ...args: FormatType[]): string
  • setLocale(id: string): void