Function: useTranslator()
useTranslator(): (
label?) =>object
Defined in: lib/settings/i18n.ts:149
Main translating function hook.
Returns
A translation function that returns the translation found for the current language and route, else it returns the provided key.
(
label?):object
Parameters
label?
string
Returns
object
missing
missing:
boolean=false
translation
translation:
undefined|string=label