Skip to content

Add Intl global object and Intl.Locale#2255

Merged
lahma merged 1 commit into
sebastienros:mainfrom
lahma:intl-pr3-intl-object-locale
Jan 24, 2026
Merged

Add Intl global object and Intl.Locale#2255
lahma merged 1 commit into
sebastienros:mainfrom
lahma:intl-pr3-intl-object-locale

Conversation

@lahma

@lahma lahma commented Jan 24, 2026

Copy link
Copy Markdown
Collaborator

Expose ECMA-402 Intl namespace with:

  • getCanonicalLocales() for locale list canonicalization
  • supportedValuesOf() for querying supported values
  • Intl.Locale for BCP 47 language tag representation
  • IntlUtilities with locale canonicalization and resolution

Expose ECMA-402 Intl namespace with:
- getCanonicalLocales() for locale list canonicalization
- supportedValuesOf() for querying supported values
- Intl.Locale for BCP 47 language tag representation
- IntlUtilities with locale canonicalization and resolution

Register Intl object in GlobalObject and add Intrinsics.Intl.cs
with initial support for Intl and Locale constructors only.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@lahma
lahma force-pushed the intl-pr3-intl-object-locale branch from e6e5be4 to 7ba2b35 Compare January 24, 2026 14:36
@lahma
lahma marked this pull request as ready for review January 24, 2026 14:50
@lahma
lahma merged commit 028ca54 into sebastienros:main Jan 24, 2026
7 of 8 checks passed
@lahma
lahma deleted the intl-pr3-intl-object-locale branch January 24, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant