Intl.DisplayNames
Widely available
The Intl.DisplayNames
API provides localized names of language, region, script, and currency codes.
To learn more, see
Intl.DisplayNames at MDN.
Compatibility
- Chrome 81 Released on 2020-04-07
- Chrome Android 81 Released on 2020-04-07
- Edge 81 Released on 2020-04-13
- Firefox 86 Released on 2021-02-23
- Firefox for Android 86 Released on 2021-02-23
- Safari 14.1 Released on 2021-04-26
- Safari on iOS 14.5 Released on 2021-04-26
Specifications
- ECMAScript Internationalization API Specification (#intl-displaynames-objects), from TC39 (Ecma International).