Intl.DisplayNamesBaseline · Widely available
The Intl.DisplayNames API provides localized names of language, region, script, and currency codes.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Apr 26, 2021. Widely available since Oct 26, 2023.
Browser support
DesktopChrome
1–80Not supported
81+Supportedsince Apr 7, 2020
Current: 155Edge
12–80Not supported
81+Supportedsince Apr 13, 2020
Current: 154Firefox
1–85Not supported
86+Supportedsince Feb 23, 2021
Current: 157Safari
1–14Not supported
14.1+Supportedsince Apr 26, 2021
Current: 27MobileChrome Android
18–80Not supported
81+Supportedsince Apr 7, 2020
Current: 155Firefox Android
4–85Not supported
86+Supportedsince Feb 23, 2021
Current: 157Safari iOS
1–14Not supported
14.5+Supportedsince Apr 26, 2021
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: DisplayNames.
Feature detection
JS · check before using
if ("DisplayNames" in Intl || ("prototype" in Intl && "DisplayNames" in Intl.prototype)) {
// Intl.DisplayNames is available
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (5). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Intl.DisplayNames | 81 | 81 | 86 | 14.1 | 81 | 86 | 14.5 |
| Intl.DisplayNames.DisplayNames | 81 | 81 | 86 | 14.1 | 81 | 86 | 14.5 |
| Intl.DisplayNames.of | 81 | 81 | 86 | 14.1 | 81 | 86 | 14.5 |
| Intl.DisplayNames.resolvedOptions | 81 | 81 | 86 | 14.1 | 81 | 86 | 14.5 |
| Intl.DisplayNames.supportedLocalesOf | 81 | 81 | 86 | 14.1 | 81 | 86 | 14.5 |