Skip to content

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

i18n: German needs only the core menus, like French and Korean; later strings may stay English

irgendwasmitfelix838a91966341
diff --git a/crates/ui-egui/src/i18n/mod.rs b/crates/ui-egui/src/i18n/mod.rs
index ceb0121d6..50faf93a8 100644
--- a/crates/ui-egui/src/i18n/mod.rs
+++ b/crates/ui-egui/src/i18n/mod.rs
@@ -1115,11 +1115,6 @@ 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/localization-parity.md b/docs/localization-parity.md
index 485090c66..d8773582d 100644
--- a/docs/localization-parity.md
+++ b/docs/localization-parity.md
@@ -58,8 +58,8 @@ whole interface, one PR) at ~4–8 h per language for the catalog plus tests.
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).
+Spanish and German catalogs both have 3,590 entries, German every Spanish one. Strings added
+later may stay English in German until translated; only the core menus are required.
Premiere also ships Italian, which we now cover like Spanish, and Russian (6–10 h).