Reputation: 1955
I'm using I18next with the Backend plugin. My question is how to force the Backend plugin to reload translation for a particular language/namespace. The similar question regarding this nodejs plugin was asked two years ago here, my question is about the Backend plugin.
Upvotes: 4
Views: 5552
Reputation: 1683
Newer versions of i18next
come with i18next.reloadResources()
to reload the resources from the backend. You can optionally specify the language and/or namespaces to reload.
Further docs: https://www.i18next.com/overview/api#reloadresources
Upvotes: 4