Class Internationalization
Constructors
Methods
addTranslations
addTranslations(locale: string, translations: Record<string, string>): void Parameters
- locale: string
- translations: Record<string, string>
Returns void
getSupportedLanguages
getSupportedLanguages(): string[]
hasTranslations
hasTranslations(locale: string): boolean
setLocale
setLocale(locale: string): void
Responsible for maintaining loaded internationalized strings.