i18next instance (v9)
Last updated
Last updated
The instance is an initialized i18next instance. In the following code snippet, we add a backend to load translations from server and a language detector for detecting user language.
You can learn more about and on the i18next website.
All additional options for react in init options:
options
default
description
wait
false
nsMode
'default'
default: namespaces will be loaded an the first will be set as default or fallback: namespaces will be used as fallbacks used in order provided
bindI18n
'languageChanged loaded'
which events trigger a rerender, can be set to false or string of events
bindStore
'added removed'
which events on store trigger a rerender, can be set to false or string of events
assert all provided namespaces are loaded before rendering the component (can be set too); note that rendering will not be blocked again when dynamically updating ns
on the after initial mount
For more initialization options have look at the .