Repository navigation
web: enable Bengali (bn-BD) locale - #24788
Merged
GirlBossRush merged 3 commits intoOct 6, 2026
Merged
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
DrHaque
force-pushed
the
web/enable-bengali-bn-bd-locale
branch
from
August 5, 2026 14:56
eaa384e to
2b65dfa
Compare
DrHaque
force-pushed
the
web/enable-bengali-bn-bd-locale
branch
from
August 21, 2026 17:30
2b65dfa to
4087dac
Compare
Adds bn-BD to the target locale list and its module loader entry so the Transifex-translated Bengali strings compile and become selectable in the UI language picker. Renames web/xliff/bn_BD.xlf to bn-BD.xlf (content unchanged) to match the project's hyphenated locale code convention used by every other target locale. Translation content itself is left untouched; Transifex sync will continue to update it as usual. Signed-off-by: Azharul Haque <[email protected]>
GirlBossRush
force-pushed
the
web/enable-bengali-bn-bd-locale
branch
from
October 6, 2026 15:13
4087dac to
2f6c844
Compare
GirlBossRush
approved these changes
Oct 6, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #24788 +/- ##
==========================================
- Coverage 92.33% 92.30% -0.04%
==========================================
Files 1175 1175
Lines 77788 77788
Branches 4129 4129
==========================================
- Hits 71826 71802 -24
- Misses 5896 5920 +24
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
What does this PR change?
Adds
bn-BDto the frontend's target locale list (web/lit-localize.json) and to the manual locale loader map (web/src/common/ui/locale/definitions.ts), and regeneratesweb/src/locale-codes.tsaccordingly.web/xliff/bn_BD.xlfis renamed toweb/xliff/bn-BD.xlfto match the hyphenated locale code convention used by every other target locale (bg-BG,tr-TR, etc.) — this rename is a byte-identical copy, zero content/translation changes. It's required becauselit-localize's build looks for the xliff source atxliffDir/{targetLocaleCode}.xlf; without a file at that exact path the build fails with a missing-source-file error. Translation content itself is left entirely alone — Transifex sync continues to own and updatebn_BD/bn-BDtranslations as it already does.Why is this change needed?
Bengali has active translators on Transifex (currently ~96% complete, ahead of several already-enabled locales like
tr-TRat 48% orzh-Hantat 38%), but the locale was never added to the target locale list, so it's never compiled or exposed in the UI language selector. See #11550 for background on this gap between "translated on Transifex" and "available in the UI."How was this tested?
pnpm --dir web run lint-checkpnpm --dir web run tscpnpm --dir web run prettier-checkpnpm --dir web run lit-analyseNODE_ENV=production pnpm --dir web run buildAll pass locally, mirroring the
CI - Webworkflow.Linked issues
refs #11550
Checklist
make docs) — not applicable, no docs changes needed