Skip to content

[5.x] Use default locale while config is not loaded in#1234

Open
Jade-GG wants to merge 2 commits intomasterfrom
bugfix/default-locales-5.x
Open

[5.x] Use default locale while config is not loaded in#1234
Jade-GG wants to merge 2 commits intomasterfrom
bugfix/default-locales-5.x

Conversation

@Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Mar 17, 2026

ref: BORDEX-1354

When the config is not yet loaded in, this code throws an error. By adding a fallback this won't happen. I've also added an extra fallback in case the browser does not support the given locale.

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