Functions
init
- init(lang?: string): Promise<any>
-
Parameters
Returns Promise<any>
The promise.
normalizeLangName
- normalizeLangName(lang: string): string
-
Parameters
Returns string
t
- t(key: string, ...args: any[]): string
-
Parameters
-
key: string
-
Rest ...args: any[]
Returns string
The "translated" string.
Initializes the language repository.