Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

Declare the UI languages to AppKit so the open and save panels are translated

Florent Siegenthaler63237f78b734
diff --git a/packaging/macos/Info.plist.in b/packaging/macos/Info.plist.in
index 3e3b88948..99d8c0444 100644
--- a/packaging/macos/Info.plist.in
+++ b/packaging/macos/Info.plist.in
@@ -6,6 +6,23 @@
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
+ <!-- UI translations are embedded in Rust; declare them for AppKit's system dialogs (open and
+ save panels, overwrite confirmation). Keep in sync with the interface languages. -->
+ <key>CFBundleLocalizations</key>
+ <array>
+ <string>en</string>
+ <string>cs</string>
+ <string>de</string>
+ <string>es</string>
+ <string>fr</string>
+ <string>pt-BR</string>
+ <string>ru</string>
+ <string>uk</string>
+ <string>ka</string>
+ <string>ja</string>
+ <string>zh-Hans</string>
+ <string>zh-Hant</string>
+ </array>
<key>CFBundleDisplayName</key>
<string>EffectCraft</string>
<key>CFBundleName</key>