I18nextProvider (v9)
Last updated
Last updated
The provider is responsible to pass the i18next instance passed in by props down to all the hocs or render prop using react context api.
For the i18n instance have a look at the .
As an alternative you can use the in the i18n instance.
name
type (default)
description
i18n
object (undefined)
pass i18next instance the provider will pass it down to translation components by context
defaultNS
string (undefined)
optionally pass down a default namespace to your translate HOC, I18n render prop (without having to specify it there)
initialI18nStore
object (undefined)
initialLanguage
string (undefined)
pass in initial translations (useful for )
pass in initial language (useful for )