Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

i18n: German has every Spanish entry; scope the coverage claims

irgendwasmitfelix1d7e2238b049
diff --git a/crates/ui-egui/README.md b/crates/ui-egui/README.md
index dca1bc9b7..c02b32ebf 100644
--- a/crates/ui-egui/README.md
+++ b/crates/ui-egui/README.md
@@ -18,7 +18,8 @@ the committed span and undo. Set `FILMCRAFT_UI_SNAPSHOT_DIR` to render screensho
## Localisation
Edit > Language offers English, Japanese, Spanish, Brazilian Portuguese, Ukrainian, Simplified
-Chinese, German, Russian, French, Indonesian, Korean and Italian (which cover the whole interface). The language is stored in the engine's `general.interfaceLanguage` preference,
+Chinese, German, Russian, French, Indonesian, Korean and Italian (all but Ukrainian and Russian cover
+the whole interface; those two cover the core menus). The language is stored in the engine's `general.interfaceLanguage` preference,
restored on startup, and also available in Settings > General.
Its default, System Language (`system`), follows the operating system: the first of the user's
preferred languages that the interface has (the host supplies them through
diff --git a/crates/ui-egui/src/i18n/mod.rs b/crates/ui-egui/src/i18n/mod.rs
index 50faf93a8..ceb0121d6 100644
--- a/crates/ui-egui/src/i18n/mod.rs
+++ b/crates/ui-egui/src/i18n/mod.rs
@@ -1115,6 +1115,11 @@ mod tests {
for (ctx, en, _) in &entries {
assert!(ctx.is_empty() && Language::Es.has(en), "German entry without a Spanish one: {ctx:?} {en:?}");
}
+ // and the other way round: German has every Spanish entry, so nothing falls back to English
+ let (spanish, _) = catalog::parse_entries(include_str!("es.tsv"));
+ for (ctx, en, _) in &spanish {
+ assert!(!ctx.is_empty() || Language::De.has(en), "Spanish entry without a German one: {en:?}");
+ }
for en in core_menu_labels() {
assert!(Language::De.has(&en), "missing German menu label: {en}");
}
diff --git a/docs/gaps.md b/docs/gaps.md
index a84ca3e52..428c3bddd 100644
--- a/docs/gaps.md
+++ b/docs/gaps.md
@@ -27,7 +27,7 @@ platforms** G4, G9, G17; **performance** G16; **ecosystem** G11; **measurement**
| G11 | No plugin hosting | ecosystem | no | 200–400 h |
| G12 | AI features | AI | no | 150–300 h |
| G13 | Delivery formats | file format | no | 60–110 h |
-| G14 | Localization: 8 of the 12 key languages missing | localization | no | 150–230 h |
+| G14 | Localization: 3 of the 12 key languages missing | localization | no | 150–230 h |
| G15 | Interchange never validated in Avid / Pro Tools; slow XML import | file format | partly | 20–40 h |
| G16 | Performance reports on 0.5.0 | performance | partly | 30–60 h |
| G17 | Audio device and playback reliability | stability | partly | 20–40 h |
@@ -231,7 +231,7 @@ platforms** G4, G9, G17; **performance** G16; **ecosystem** G11; **measurement**
(audio-only `.m4a`, or ADTS `.aac`; #814); ProRes 4444 / 4444 XQ in the export UI (#342).
- **Estimate:** 60–110 h. Doc: [file-format-parity.md](file-format-parity.md).
-## G14. Localization: 8 of the 12 key languages missing
+## G14. Localization: 3 of the 12 key languages missing (Hindi, Arabic, Vietnamese)
- **Have:** Spanish, Japanese, Simplified Chinese, French (#498) and Portuguese (Brazil) (#859)
catalogs cover ~99.6–100% of the ~3,500 cataloged strings; Ukrainian ~10% (menus).
@@ -240,7 +240,8 @@ platforms** G4, G9, G17; **performance** G16; **ecosystem** G11; **measurement**
left-to-right run order; Arabic titles reported broken, #395),
Korean (#508; needs Hangul fonts in craft-fonts),
Vietnamese; Premiere also ships Russian. Engine errors,
- CLI and MCP stay English. No language has a recorded native-speaker review.
+ CLI and MCP stay English. Apart from the German menus (#630), no language has a recorded
+ native-speaker review.
- **Done:** Indonesian (#867): `id.tsv` has every entry of the Spanish catalog (~100%), in Edit ▸
Language, Settings ▸ General and the native macOS menu; System Language picks it for `id-*` (and
legacy `in-*`) locales. Native-speaker review welcome.
diff --git a/docs/localization-parity.md b/docs/localization-parity.md
index a0eab8fdc..485090c66 100644
--- a/docs/localization-parity.md
+++ b/docs/localization-parity.md
@@ -56,6 +56,11 @@ whole interface, one PR) at ~4–8 h per language for the catalog plus tests.
| *Other shipped:* Italian | it | 3,573 (same entries as Spanish, plus the macOS Settings item); must cover the core menus, no entry without a Spanish one | as Spanish | Latin (bundled fonts) | not recorded; welcome | partial | review |
| *Other shipped:* Ukrainian | uk | 351 (10.0%) | menus only | Cyrillic (bundled) | not recorded | menus only | 5–9 h |
+UI strings are catalog entries (the non-comment lines of `src/i18n/<code>.tsv`; English counts the
+source strings in the code), so the rows were measured at different times: at this change the
+Spanish and German catalogs both have 3,590 entries, German every Spanish one (a test checks both
+directions).
+
Premiere also ships Italian, which we now cover like Spanish, and Russian (6–10 h).
**Localization dimension:** 9 of the 12 key languages near-complete (English, Spanish, Japanese,