Far-Beyond-Pulsar/Pulsar-Native
Inconsistent locale coverage across editor crates — missing ru and empty locale sets
Chiusa
#483 aperta il 29 lug 2026
difficulty: easyenhancementgood first issuehelp wantedpriority: low
Metriche repository
- Star
- (348 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Summary
The locale coverage across editor crates is inconsistent. Some crates have the ru (Russian) locale, others don't. Two crates have no locale files at all.
Current locale coverage
| Crate | en | zh-CN | zh-HK | pt-BR | it | ru | lol |
|---|---|---|---|---|---|---|---|
ui_common |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_level_editor |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_problems |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_type_debugger |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_core |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_file_manager |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_flamegraph |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_log_viewer |
❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
ui (wgpui-component) |
❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
Missing ru locale: ui_core, ui_file_manager, ui_flamegraph
No locale files at all: ui_log_viewer (see #479), ui (wgpui-component, see #478)
Additionally, the lol (LOLCAT) locale exists in most crates as a pseudo-locale for testing — it should probably be consistently present or consistently removed.
Suggested fix
- Add
ru.ymltoui_core,ui_file_manager, andui_flamegraph(translations can be sourced from the existingru.ymlinui_commonetc.) - Once #478 and #479 are resolved, ensure the new locale files match the supported locale set
- Consider establishing a CI check that verifies all editor crates with
rust-i18nhave the same set of locale files