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!

fixed default language detection

Blue Mouse91aa2fe5588e
diff --git a/src/i18next.js b/src/i18next.js
index 9c2ead408..651003fd4 100644
--- a/src/i18next.js
+++ b/src/i18next.js
@@ -23,7 +23,7 @@ i18next
.use(lngDetector)
.init({
detection: {
- order: ['localStorage', 'customDetector'],
+ order: ['localStorage', 'navigator', 'customDetector'],
lookupLocalStorage: 'language',
},
interpolation: {