I18n.getFixedT method
I18n › getFixedT
Unofficial
Gets a translation function fixed to a language and namespace.Signature:
getFixedT(lng: string | string[], ns?: string | string[] | undefined): TFunctionParameters:
| Parameter | Type | Description |
|---|---|---|
| lng | string | string[] | Language code or codes. |
| ns? | string | string[] | undefined | Namespace or namespaces. |
Returns: TFunction — A fixed translation function.