i18n.getUILanguage()
Read More at MDN DocsSafe to Use
i18n.getUILanguage()
is not safe to use.
It’s supported by 54% of global browsers.
Browsers
ChromeMay 20, 2014v35.0.0
26%╱100%
100% of Chrome users are running a supported version.
SafariSep 16, 2020v14.0.05%╱93%
There are no users of Safari running a supported version.
EdgeAug 2, 2016v14.0.05%╱100%
100% of Edge users are running a supported version.
FirefoxJun 7, 2016v47.0.03%╱100%
100% of Firefox users are running a supported version.
Version Breakdown
Support
Adoption
Chrome
May 20, 2014 v35.0.0
26%╱100%
100% of Chrome users are running a supported version.
May 20, 2014 – Latest
v35.0.0+
26%╱100%
Full Support
Edge
Aug 2, 2016 v14.0.0
5%╱100%
100% of Edge users are running a supported version.
Aug 2, 2016 – Latest
v14.0.0+
5%╱100%
Full Support
Firefox
Jun 7, 2016 v47.0.0
3%╱100%
100% of Firefox users are running a supported version.
Jun 7, 2016 – Latest
v47.0.0+
3%╱100%
Full Support
Firefox 55 and earlier returns a language tag that's separated with the underscore character instead of hyphen, see bug 1374552.
Firefox for Android
Aug 2, 2016 v48.0.0
Firefox for Android supports this feature.
Aug 2, 2016 – Latest
v48.0.0+
Full Support
Opera
Unknown v1.0.0
1%╱100%
100% of Opera users are running a supported version.
Unknown
v1.0.0+
1%╱100%
Full Support
Safari
Sep 16, 2020 v14.0.0
5%╱93%
There are no users of Safari running a supported version.
Sep 16, 2020 – Latest
v14.0.0+
5%╱93%
Full Support
Safari on iOS
Sep 20, 2021 v15.0.0
15%╱93%
There are no users of Safari on iOS running a supported version.
Sep 20, 2021 – Latest
v15.0.0+
15%╱93%
Full Support