diff --git a/src/service/translate.js b/src/service/translate.js index d3ebf4c2b..1db1bd977 100644 --- a/src/service/translate.js +++ b/src/service/translate.js @@ -38,6 +38,7 @@ angular.module('pascalprecht.translate').provider('$translate', ['$STORAGE_KEY', var getLocale = function () { var nav = window.navigator; return (( + angular.isArray(nav.languages) ? nav.languages[0] : nav.language || nav.browserLanguage || nav.systemLanguage ||