diff --git a/src/languageHandler.js b/src/languageHandler.js index a19c796f39..4455d58b04 100644 --- a/src/languageHandler.js +++ b/src/languageHandler.js @@ -191,7 +191,7 @@ export function getAllLanguagesFromJson() { export function getLanguagesFromBrowser() { if (navigator.languages && navigator.languages.length) return navigator.languages; if (navigator.language) return [navigator.language]; - return [navigator.userLanguage]; + return [navigator.userLanguage || "en"]; } /**