constructor Method

Constructor for I18N.

I18N(nameSpaces?: string | string[], options?: I18NOptions, renderFunction?: Callback): I18N

Parameter Type Description
nameSpaces string | string[] either the name of the default namespace, an array of namespaces, or undefined. If an array, the first entry is the default.
options I18NOptions object with I18NOptions (optional)
renderFunction Callback optional i18next.Callback function

Returns - I18N

Defined in

Last Updated: 12 June, 2024