Far-Beyond-Pulsar/Pulsar-Native
Inconsistent locale coverage across editor crates — missing ru and empty locale sets
Fermée
#483 ouverte le 29 juil. 2026
difficulty: easyenhancementgood first issuehelp wantedpriority: low
Métriques du dépôt
- Stars
- (348 étoiles)
- Métriques de merge PR
- (Merge moyen 11h 37m) (69 PRs mergées en 30 j)
Description
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