Skip to content

await localeData + real RTL check#1044

Merged
bearfriend merged 3 commits into
mainfrom
dgleckler/await-locale-data
Jul 22, 2026
Merged

await localeData + real RTL check#1044
bearfriend merged 3 commits into
mainfrom
dgleckler/await-locale-data

Conversation

@bearfriend

@bearfriend bearfriend commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

GAUD-9717: Rewrite intl/common and intl/dateTime to use contained data sets per locale

Since fixture already handles (re)setting the language it makes sense to have it handle waiting for locale data so consumers get this for free as well.

Also changes the RTL logic to pull the actual locale layout data.

@bearfriend
bearfriend requested a review from a team as a code owner July 22, 2026 00:51
Comment thread src/browser/reset.js
const defaultOpts = {
lang: DEFAULT_LANG,
mathjax: {},
rtl: !!opts.lang?.startsWith('ar'),

@bearfriend bearfriend Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

*Urdu intensifies*

@bearfriend
bearfriend merged commit 983efc4 into main Jul 22, 2026
7 checks passed
@bearfriend
bearfriend deleted the dgleckler/await-locale-data branch July 22, 2026 01:25
@d2l-github-release-tokens

Copy link
Copy Markdown

🎉 This PR is included in version 1.50.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants