Upgrade i18next to v26, fix breaking changes

- i18next 25.10.4 → 26.0.1, react-i18next 16.6.1 → 17.0.1
- Replace removed `initImmediate: false` with `initAsync: false`
- Remove `showSupportNotice` option (removed in v26)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-29 11:02:22 +02:00
parent 4be716687a
commit cb70a3cce4
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
3 changed files with 52 additions and 9 deletions

View file

@ -28,7 +28,10 @@
"brace-expansion@>=4.0.0 <5.0.5": "5.0.5",
"path-to-regexp@<0.1.13": "0.1.13"
},
"onlyBuiltDependencies": ["@sentry/cli", "esbuild"]
"onlyBuiltDependencies": [
"@sentry/cli",
"esbuild"
]
},
"devDependencies": {
"@eslint/js": "^10.0.1",
@ -49,7 +52,7 @@
"drizzle-postgis": "^1.1.1",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"i18next": "^25.10.4",
"i18next": "^25.10.10",
"i18next-browser-languagedetector": "^8.2.1",
"jsdom": "^29.0.1",
"leaflet": "^1.9.4",
@ -59,7 +62,7 @@
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-i18next": "^16.6.1",
"react-i18next": "^16.6.6",
"react-leaflet": "^5.0.0",
"react-router": "^7.13.2",
"tailwindcss": "^4.2.2",