Open cemalokten opened 1 year ago
i18next-resources-to-backend is used mainly as fallback backend... for example if your http backend did not serve the translations... I don't know your use case but if your translations (those you are currently adding via addResourceBundle) are not lazy loaded i18next-resources-to-backend should work as expected, like described in the readme.
If that's not what you're looking for (but I really don't know why), you could directly invoke the save function of the local storage backend... but this is really a hack and not an official interface:
i18next.services.backendConnector.backend.backends[0].save('ar', 'topicNS, { topics })
Is it possible to store namespaces that are added after init via
addResourceBundle
in localstorage?I asked the question on stackoverflow and have not had an answer.