← Back to release summary

relaunch Intl Locale Info feature in newly added functions

Category
JavaScript
Type
Chromium catches up
Status
In development (Chrome In development)
Intent stage
None

WPT details: https://github.com/tc39/test262/tree/main/test/intl402/Locale/prototype/get*

Summary

Intl Locale Info API is a new Stage ECMAScript TC39 proposal to enhance the Intl.Locale object by exposing Locale information, such as week data (first day in a week, weekend start day, weekend end day, minimun day in the first week), and text direction hour cycle used in the locale. https://github.com/tc39/proposal-intl-locale-info We launch Intl Locale Info API w/ getters but later the proposal changed to rename these getters to functions. We need to deprecate the getter and relaunch the functions . The deprecation of getters is tracked in https://chromestatus.com/feature/5148228059398144

Standards & signals

Ecosystem

Docs: https://docs.google.com/document/d/1BSpa-LKE69LL1g5CHZ3G06XEfffauwS24atfSUQiIDY/edit?usp=sharing

Samples: https://github.com/tc39/proposal-intl-locale-info?tab=readme-ov-file#high-level-design

View on chromestatus.com