Open source video conferencing app powered by LiveKit. Built with Django and React.
🩹(frontend) use browser language if no localStorage for detection
lebaudantoine24e819a5336a
diff --git a/src/frontend/src/i18n/init.ts b/src/frontend/src/i18n/init.tsindex 352c56dc..01b4d49b 100644--- a/src/frontend/src/i18n/init.ts+++ b/src/frontend/src/i18n/init.ts@@ -13,11 +13,14 @@ i18n).use(initReactI18next).use(LanguageDetector)-i18n.init({- supportedLngs: ['en', 'fr'],- fallbackLng: 'en',- ns: i18nDefaultNamespace,- interpolation: {- escapeValue: false,- },-})+ .init({+ supportedLngs: ['en', 'fr'],+ fallbackLng: 'fr',+ ns: i18nDefaultNamespace,+ detection: {+ order: ['localStorage', 'navigator'],+ },+ interpolation: {+ escapeValue: false,+ },+ })