i18next translator function
The options contain variables to be interpolated into the translation
type TranslatorFn = (key: string, options?: Record<string, unknown>) => string
i18next translator function
The options contain variables to be interpolated into the translation