Intl.getCanonicalLocales()
- Category
- JavaScript
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- None
Summary
Intl.getCanonicalLocales is a part of ECMAScript 2016 Internationalization API Specification. It exposes an existing internal method to canonicalize and de-duplicate the input locale list and returns the result in an array.
Standards & signals
- Specification: http://www.ecma-international.org/ecma-402/3.0/#sec-intl.getcanonicallocales
- Firefox: Shipped/Shipping
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/v8/issues/detail?id=5012
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=intl-getcanonicallocales
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Intl.getCanonicalLocales()
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Intl.getCanonicalLocales()
- Baseline status: https://webstatus.dev/?q=Intl.getCanonicalLocales()