Function: translate()
> translate(key): string
Defined in: src/translator/TranslatorManager.ts:68
Runs the composed translation pipeline:
- optional
beforeToTranslatehook (deprecated) - TextReplaces.replace – before-translation phase
- main
translatefunction - optional
afterToTranslatehook (deprecated) - TextReplaces.replace – after-translation phase
Parameters
key
string
Returns
string