Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(lang) fix default language selection

Saúl Ibarra Corretgébd38df5d6106
diff --git a/react/features/base/i18n/i18next.js b/react/features/base/i18n/i18next.js
index fba31494f9..0f2f3041de 100644
--- a/react/features/base/i18n/i18next.js
+++ b/react/features/base/i18n/i18next.js
@@ -15,8 +15,6 @@ import languageDetector from './languageDetector';
/**
* The available/supported languages.
*
- * XXX The element at index zero is the default language.
- *
* @public
* @type {Array<string>}
*/
@@ -25,12 +23,12 @@ export const LANGUAGES: Array<string> = Object.keys(LANGUAGES_RESOURCES);
/**
* The default language.
*
- * XXX The element at index zero of {@link LANGUAGES} is the default language.
+ * English is the default language.
*
* @public
* @type {string} The default language.
*/
-export const DEFAULT_LANGUAGE = LANGUAGES[0];
+export const DEFAULT_LANGUAGE = 'en';
/**
* The options to initialize i18next with.