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

fix(i18n): use correct i18n text bundle #6720

Merged
merged 1 commit into from
Mar 17, 2023
Merged

fix(i18n): use correct i18n text bundle #6720

merged 1 commit into from
Mar 17, 2023

Conversation

nnaydenow
Copy link
Contributor

The current logic for fetching i18n bundles skips custom registered i18n bundles. For example if custom Hebrew translations are registered with localeId he, they will be skipped because he is a new format localeId which should be mapped with iw localeId for compatible reasons.

This PR changes the behavior to use custom bundles if they are registered, otherwise fallback logic will try to find an existing bundle one, compatible one or it will use defaults.

Fixes: #6635

@nnaydenow nnaydenow merged commit 9636000 into main Mar 17, 2023
@nnaydenow nnaydenow deleted the i18n-text branch March 17, 2023 10:10
NHristov-sap pushed a commit that referenced this pull request May 4, 2023
Co-authored-by: Nayden Naydenov <nnaydenow.work@sap.com>
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.

[i18n] Hebrew translation not working
2 participants