Far-Beyond-Pulsar/Pulsar-Native
Inconsistent locale coverage across editor crates — missing ru and empty locale sets
クローズ
#483 opened on 2026/07/29
difficulty: easyenhancementgood first issuehelp wantedpriority: low
Repository metrics
- Stars
- (348 個のスター)
- PR merge metrics
- (平均マージ 11h 37m) (30d で 69 merged PRs)
説明
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