feat(i18n): expose the six newly backfilled locales#41827
Conversation
Adds Arabic, Catalan, Persian, Finnish, Thai, and Turkish to the LANGUAGES reference dict in config.py — all six have fully backfilled catalogs on master but were not selectable even for operators who enable i18n. Also completes the frontend Locale type union to the full set of catalog locales (it had drifted to 12 of 29). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Code Review Agent Run #b888adActionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41827 +/- ##
==========================================
- Coverage 64.77% 64.21% -0.57%
==========================================
Files 2689 2689
Lines 148945 148945
Branches 34369 34369
==========================================
- Hits 96479 95642 -837
- Misses 50697 51534 +837
Partials 1769 1769
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
SUMMARY
The i18n backfill campaign left every catalog in
superset/translations/with zero untranslated entries, but six of them — Arabic, Catalan, Persian, Finnish, Thai, Turkish — were never added to theLANGUAGESreference dict inconfig.py, so operators who enable i18n still can't select them. This adds the six entries with their flag codes.Also completes the frontend
Localetype union in@superset-coreto the full set of catalog locales: it had drifted to 12 of 29 (missing not just these six but also mi/uk/sk/sl/lv/nl/pl/cs/ro/sr/sr_Latn). Type-level only; no runtime change.Note
LANGUAGESremains{}by default (i18n stays opt-in) — this only extends the reference dict operators copy from.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A — config reference + type union.
TESTING INSTRUCTIONS
Enable the six locales in
superset_config.py, switch languages in the UI, observe translated content (catalogs are fully backfilled; AI-generated entries are fuzzy-served pending human review, per the backfill convention).ADDITIONAL INFORMATION
🤖 Generated with Claude Code