Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocaleService

Hierarchy

  • LocaleService

Index

Constructors

Properties

locale: string = 'en-US'
localeChanged: Subject<string> = ...
logger: Logger
allLanguages: { code: string; name: string }[] = ...

Accessors

  • get localeChanged$(): Observable<string>

Methods

  • getLocale(): string
  • refresh(): void
  • setLocale(lang: string): Promise<void>

Generated using TypeDoc