@boost/translateFunctionscreateTranslatorcreateTranslator CallablecreateTranslator(namespace: string | string[], resourcePath: PortablePath | PortablePath[], options?: TranslatorOptions): Promise<Translator>Create and return a Translator instance with the defined namespace. A list of resource paths are required for locating translation files.
Create and return a
Translator
instance with the defined namespace. A list of resource paths are required for locating translation files.