Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Update i18next

Blue Mouse8f5d5e976937
diff --git a/web/app/entry.client.tsx b/web/app/entry.client.tsx
index 1a657520e..bd0a87b4c 100644
--- a/web/app/entry.client.tsx
+++ b/web/app/entry.client.tsx
@@ -65,7 +65,6 @@ async function hydrate() {
.use(HTTPBackend)
.init({
...i18n,
- showSupportNotice: false,
ns: getInitialNamespaces(),
backend: { loadPath: `/locales/{{lng}}.json?cv=${I18N_CACHE_BREAKER}` },
detection: {
diff --git a/web/package-lock.json b/web/package-lock.json
index d159d0400..02c9cf360 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -30,10 +30,10 @@
"framer-motion": "^12.38.0",
"geojson": "^0.5.0",
"i18n-iso-countries": "^7.14.0",
- "i18next": "^25.8.14",
+ "i18next": "^26.0.4",
"i18next-browser-languagedetector": "^8.2.1",
- "i18next-fs-backend": "^2.6.1",
- "i18next-http-backend": "^3.0.2",
+ "i18next-fs-backend": "^2.6.3",
+ "i18next-http-backend": "^3.0.4",
"isbot": "^5.1.37",
"jszip": "^3.10.1",
"leaflet": "^1.9.4",
@@ -42,7 +42,7 @@
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hotkeys-hook": "^4.6.1",
- "react-i18next": "^16.5.4",
+ "react-i18next": "^17.0.2",
"react-leaflet": "^5.0.0",
"react-qr-code": "^2.0.18",
"react-router": "^7.14.0",
@@ -497,9 +497,9 @@
}
},
"node_modules/@babel/runtime": {
- "version": "7.28.4",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz",
- "integrity": "sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==",
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
+ "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
@@ -5379,12 +5379,12 @@
}
},
"node_modules/cross-fetch": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz",
- "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.1.0.tgz",
+ "integrity": "sha512-uKm5PU+MHTootlWEY+mZ4vvXoCn4fLQxT9dSc1sXVMSFkINTJVN8cAQROpwcKm8bJ/c7rgZVIBWzH5T78sNZZw==",
"license": "MIT",
"dependencies": {
- "node-fetch": "^2.6.12"
+ "node-fetch": "^2.7.0"
}
},
"node_modules/cross-spawn": {
@@ -6772,29 +6772,29 @@
}
},
"node_modules/i18next": {
- "version": "25.8.14",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.8.14.tgz",
- "integrity": "sha512-paMUYkfWJMsWPeE/Hejcw+XLhHrQPehem+4wMo+uELnvIwvCG019L9sAIljwjCmEMtFQQO3YeitJY8Kctei3iA==",
+ "version": "26.0.4",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.0.4.tgz",
+ "integrity": "sha512-gXF7U9bfioXPLv7mw8Qt2nfO7vij5MyINvPgVv99pX3fL1Y01pw2mKBFrlYpRxRCl2wz3ISenj6VsMJT2isfuA==",
"funding": [
{
"type": "individual",
- "url": "https://locize.com"
+ "url": "https://www.locize.com/i18next"
},
{
"type": "individual",
- "url": "https://locize.com/i18next.html"
+ "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
},
{
"type": "individual",
- "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project"
+ "url": "https://www.locize.com"
}
],
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.28.4"
+ "@babel/runtime": "^7.29.2"
},
"peerDependencies": {
- "typescript": "^5"
+ "typescript": "^5 || ^6"
},
"peerDependenciesMeta": {
"typescript": {
@@ -6812,18 +6812,18 @@
}
},
"node_modules/i18next-fs-backend": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-2.6.1.tgz",
- "integrity": "sha512-eYWTX7QT7kJ0sZyCPK6x1q+R63zvNKv2D6UdbMf15A8vNb2ZLyw4NNNZxPFwXlIv/U+oUtg8SakW6ZgJZcoqHQ==",
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-2.6.3.tgz",
+ "integrity": "sha512-/5aW996nbolGh/qVU9urjAJ2QiXpiyGuhG8x/ZvvZQ3bMlrK+ouUdD6whS4e+sU9CCdUIzl7x/heEjsBh/3xtw==",
"license": "MIT"
},
"node_modules/i18next-http-backend": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-3.0.2.tgz",
- "integrity": "sha512-PdlvPnvIp4E1sYi46Ik4tBYh/v/NbYfFFgTjkwFl0is8A18s7/bx9aXqsrOax9WUbeNS6mD2oix7Z0yGGf6m5g==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/i18next-http-backend/-/i18next-http-backend-3.0.4.tgz",
+ "integrity": "sha512-udwrBIE6cNpqn1gRAqRULq3+7MzIIuaiKRWrz++dVz5SqWW2VwXmPJtAgkI0JtMLFaADC9qNmnZAxWAhsxXx2g==",
"license": "MIT",
"dependencies": {
- "cross-fetch": "4.0.0"
+ "cross-fetch": "4.1.0"
}
},
"node_modules/iconv-lite": {
@@ -8209,19 +8209,19 @@
}
},
"node_modules/react-i18next": {
- "version": "16.5.4",
- "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-16.5.4.tgz",
- "integrity": "sha512-6yj+dcfMncEC21QPhOTsW8mOSO+pzFmT6uvU7XXdvM/Cp38zJkmTeMeKmTrmCMD5ToT79FmiE/mRWiYWcJYW4g==",
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-17.0.2.tgz",
+ "integrity": "sha512-shBftH2vaTWK2Bsp7FiL+cevx3xFJlvFxmsDFQSrJc+6twHkP0tv/bGa01VVWzpreUVVwU+3Hev5iFqRg65RwA==",
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.28.4",
+ "@babel/runtime": "^7.29.2",
"html-parse-stringify": "^3.0.1",
"use-sync-external-store": "^1.6.0"
},
"peerDependencies": {
- "i18next": ">= 25.6.2",
+ "i18next": ">= 26.0.1",
"react": ">= 16.8.0",
- "typescript": "^5"
+ "typescript": "^5 || ^6"
},
"peerDependenciesMeta": {
"react-dom": {
diff --git a/web/package.json b/web/package.json
index 9e4fdd506..aa551d3d2 100644
--- a/web/package.json
+++ b/web/package.json
@@ -42,10 +42,10 @@
"framer-motion": "^12.38.0",
"geojson": "^0.5.0",
"i18n-iso-countries": "^7.14.0",
- "i18next": "^25.8.14",
+ "i18next": "^26.0.4",
"i18next-browser-languagedetector": "^8.2.1",
- "i18next-fs-backend": "^2.6.1",
- "i18next-http-backend": "^3.0.2",
+ "i18next-fs-backend": "^2.6.3",
+ "i18next-http-backend": "^3.0.4",
"isbot": "^5.1.37",
"jszip": "^3.10.1",
"leaflet": "^1.9.4",
@@ -54,7 +54,7 @@
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hotkeys-hook": "^4.6.1",
- "react-i18next": "^16.5.4",
+ "react-i18next": "^17.0.2",
"react-leaflet": "^5.0.0",
"react-qr-code": "^2.0.18",
"react-router": "^7.14.0",