Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move all info about supported Intl identifiers under supportedValuesOf, sync with latest CLDR #37735

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Josh-Cena
Copy link
Member

I always find it weird that our canonical place of documentation for the calendar/numbering system/collation identifiers is the Intl.Locale API, because you don't get an exhaustive list from this API. OTOH Intl.supportedValuesOf() is guaranteed to return an exhaustive list, so it is much easier to verify the results. In addition I'm syncing the documentation with the latest CLDR which introduces more numbering systems, and more explicitly marking some collation types as deprecated.

@Josh-Cena Josh-Cena requested a review from a team as a code owner January 21, 2025 06:31
@Josh-Cena Josh-Cena requested review from sideshowbarker and bsmth and removed request for a team and sideshowbarker January 21, 2025 06:31
@github-actions github-actions bot added Content:JS JavaScript docs size/l [PR only] 501-1000 LoC changed labels Jan 21, 2025
Copy link
Contributor

github-actions bot commented Jan 21, 2025

Preview URLs (19 pages)
External URLs (17)

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale
Title: Intl.Locale() constructor


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf
Title: Intl.supportedValuesOf()

(comment last updated: 2025-01-21 14:49:18)

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:JS JavaScript docs size/l [PR only] 501-1000 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants