indexNamespaces
translator
Manages the translation pipeline for all text displayed by pixi-vn-json.
The pipeline applies three optional hooks in order:
beforeToTranslate– pre-processes the key before translation.translate– the main translation function (identity by default).afterToTranslate– post-processes the translated string.
Use TranslatorManager.t to translate a key or array of keys.