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

Load fallback (two-letter) locale #7541

Merged
merged 2 commits into from Jul 26, 2023

Conversation

ehuelsmann
Copy link
Member

When the full fledge locale (e.g. en_US) isn't available, fall back to two letter locale name (i.e. 'en'). Also: catch the error(s) when either or both aren't available.

@ehuelsmann ehuelsmann requested a review from ylavoie July 25, 2023 20:17
UI/src/i18n.js Outdated Show resolved Hide resolved
When the full fledge locale (e.g. en_US) isn't available, fall back to
two letter locale name (i.e. 'en'). Also: catch the error(s) when either
or both aren't available.
@ylavoie ylavoie merged commit bccf632 into ledgersmb:master Jul 26, 2023
12 checks passed
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.

None yet

3 participants