Interface TranslationProviderInterface
Properties
Readonly
currentLanguage
currentLanguage: string
Methods
translate
- translate(key, defaultValueOrArgs?, args?): string
Parameters
- key: string
Optional
defaultValueOrArgs: string | Record<string, unknown>Optional
args: Record<string, unknown>
Returns string