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.

Documentation

Specification

Specification link


Unknown standards status - check spec link for status

Status in Chromium

Blink>JavaScript>Internationalization


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

A polyfill is available (as a part of Ecma402 spec proposal for this feature).

Search tags

Intl.getCanonicalLocales, Ecma402,

Last updated on 2021-11-03