v26.7.1
Fixed 2
- reloadResources() retries the bundles that failed to load, so a language whose first load failed (for example during a backend or network outage at startup) is no longer left missing after reloading.
- reloadResources() without languages reloads the current languages and every language the backend loaded or tried to load, for the instance and its clones, instead of only the current languages, so a backend's reloadInterval refreshes languages loaded for requests on a server.
From i18next
- fix:
reloadResources()retries the bundles that failed to load. The load queue skipped them also when reloading, so a language whose first load failed (a backend or network outage at startup) stayed missing. i18next-http-backend 4.0.8, i18next-chained-backend 5.0.7 and i18next-locize-backend 10.0.5 reload throughreloadResources()with i18next 26.7, so theirreloadIntervalno longer recovered from such a failure, as their own reload did before. - fix:
reloadResources()without languages reloads the current languages and every language the backend loaded or tried to load, for the instance and its clones, as the API docs describe ("pass languages and namespaces if you don't want to reload all"). It reloaded only the current languages, so on a server (one clone per request with i18next-http-middleware) a backend'sreloadIntervalnever refreshed the languages loaded for requests. It never requestscimode. With languages given, nothing changes.