Intl.Locale infoBaseline · Newly available
The getter methods of the Intl.Locale API provide supplemental information about a Unicode locale, such as the locale's calendar (for example, the first day in a week or the weekend start day), writing direction, 12- or 24-hour cycles, and numbering system.
Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Jul 21, 2026.
Browser support
DesktopChrome
1–129Not supported
130+Supportedsince Oct 15, 2024
Current: 155Edge
12–129Not supported
130+Supportedsince Oct 17, 2024
Current: 154Firefox
1–152Not supported
153+Supportedsince Jul 21, 2026
Current: 157Safari
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27MobileChrome Android
18–129Not supported
130+Supportedsince Oct 15, 2024
Current: 155Firefox Android
4–152Not supported
153+Supportedsince Jul 21, 2026
Current: 157Safari iOS
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27How to use
Every current browser supports this, but it only became Baseline on Jul 21, 2026. Use it as a progressive enhancement, or keep a fallback if you support older devices.
Example
Full syntax and examples are on MDN: getCalendars.
Feature detection
JS · check before using
if ("Locale" in Intl || ("prototype" in Intl && "Locale" in Intl.prototype)) {
// Intl.Locale is available
}Sub-features
Support for each part of the feature (7). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Intl.Locale.getCalendars | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getCollations | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getHourCycles | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getNumberingSystems | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getTextInfo | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getTimeZones | 130 | 130 | 153 | 17 | 130 | 153 | 17 |
| Intl.Locale.getWeekInfo | 130 | 130 | 153 | 17 | 130 | 153 | 17 |