constructor Method

constructor for I18N.

I18N(nameSpaces?: string | string[], options?: I18NOptions, renderFunction?: i18next.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 i18next.Callback optional i18next.Callback function

Defined in

Last Updated: 08 January, 2020