Skip to content

emulation.setLocaleOverride #924

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

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

Conversation

sadym-chromium
Copy link
Contributor

@sadym-chromium sadym-chromium commented May 19, 2025

Addressing #774.

Emulate locales in Intl. Other i18n emulation is out of scope of this PR.

Emulate locale for browsing contexts or for user contexts.

The ecmascript specification of Intl is tight to DefaultLocale(), which is an implementation-defined abstract operation. This PR defines additional steps in case of the locale override is set.

@sadym-chromium sadym-chromium marked this pull request as ready for review May 20, 2025 09:05
@sadym-chromium sadym-chromium force-pushed the sadym/emulate-locale branch from 45bcc23 to 5c76573 Compare May 20, 2025 11:03
Copy link
Contributor

@OrKoN OrKoN left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants