fix: remove non-existent 'settings' i18n namespace (splash screen 404)#1581
Closed
andersondario-er wants to merge 1 commit into
Closed
fix: remove non-existent 'settings' i18n namespace (splash screen 404)#1581andersondario-er wants to merge 1 commit into
andersondario-er wants to merge 1 commit into
Conversation
The 'settings' namespace has been listed in preloadNamespaces since at least Feb 2024 but the corresponding settings.json file was never created in public/locales/. No component uses this namespace either. In i18next v25 this was silently ignored. After the v25→v26 upgrade (Apr 27, 2026) a missing preloaded namespace blocks i18n initialisation, preventing the app from loading past the splash screen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes
'settings'from thepreloadNamespaceslist insrc/i18n.js. The filepublic/locales/en-US/settings.json(and all other locales) has never existed in the repo, and no component uses this namespace. The app was broken by the i18next v25→v26 upgrade (Apr 27, 2026): v26 treats a 404 on a preloaded namespace as a fatal init failure, blocking the app at the splash screen.Changes
'settings'frompreloadNamespacesinsrc/i18n.js— the file never existed, the namespace is unusedTechnical Details
404 /locales/en-US/settings.json?v=1.39→ app never loads past splash screen'settings'was added topreloadNamespacesin Feb 2024 without a correspondingsettings.jsonfile; i18next v25 silently skipped 404s, v26 does notrelease-2.139.1(e.g. birdlifezimbabwe.pamdas.org)Files Changed
src/i18n.js— remove'settings'from preload namespace listFixes ERCS-7240