Files
materialcraft/docs/localization-parity.md
test-bit-sys 0dee441161 feat(i18n): add complete Arabic (ar) UI localization and font fallbacks
- Add full Arabic translation table (363 entries) in crates/ui-egui/src/i18n/ar.rs
- Implement live language switching, locale detection and RTL support in crates/ui-egui/src/i18n.rs
- Add system font fallbacks for Arabic (Segoe UI, SF Arabic, Noto Sans Arabic) in crates/ui-egui/src/fonts.rs
- Add language selector combo box to Preferences dialog in crates/ui-egui/src/windows.rs
- Add language preference persistence in crates/ui-egui/src/state.rs
- Update docs/localization-parity.md tracking Arabic support
2026-11-03 22:45:17 +01:00

21 lines
1.1 KiB
Markdown

# Localization parity
> **Last reviewed:** 2026-11-02 · **Last updated:** 2026-11-02 · **Change:** major (first version) · **Target:** the professional node-based material workflow
Every interface string goes through `crate::i18n::tr` (or is marked with `n_` where it is stored),
so catalogs can be added without touching callers. Today only English ships.
| Language | Code | Status | Notes |
|---|---|---|---|
| English | `en` | Complete | Source language |
| Arabic | `ar` | Complete | Full UI translation table (`crates/ui-egui/src/i18n/ar.rs`), system font fallbacks (Segoe UI / SF Arabic / Noto Sans Arabic), live language picker in Preferences |
| French, German, Spanish, Portuguese (Brazil), Italian | `fr`, `de`, `es`, `pt-br`, `it` | Not started | Planned with the shared craft-i18n catalogs |
| Japanese, Chinese (Simplified), Korean | `ja`, `zh-hans`, `ko` | Not started | Needs the craft-fonts CJK faces (`CRAFT_FONTS_DIR`), as in TextureCraft |
## Revision history
| Date | Change | Summary |
|---|---|---|
| 2026-11-03 | minor | Add complete Arabic (`ar`) UI localization and font fallbacks |
| 2026-11-02 | major | First version |