1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add user display lang setting

This commit is contained in:
Luke Pulverenti 2015-08-04 14:14:16 -04:00
parent bbf0b4d402
commit a2fe57466c
7 changed files with 84 additions and 5 deletions

View file

@ -75,6 +75,13 @@
deferred.resolveWith(null, [null]);
});
} else if (AppInfo.supportsUserDisplayLanguageSetting) {
Logger.log('AppInfo.supportsUserDisplayLanguageSetting is true');
culture = document.documentElement.getAttribute('data-culture');
deferred.resolveWith(null, [culture]);
} else {
Logger.log('navigator.globalization.getLocaleName is unavailable');