Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

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

Florent Siegenthaler26ba7649465d
diff --git a/packaging/macos/Info.plist.in b/packaging/macos/Info.plist.in
index ba4503678..1fbabdee2 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>ar</string>
+ <string>cs</string>
+ <string>de</string>
+ <string>fr</string>
+ <string>it</string>
+ <string>ja</string>
+ <string>ka</string>
+ <string>pl</string>
+ <string>pt-BR</string>
+ <string>ru</string>
+ <string>uk</string>
+ </array>
<key>CFBundleDisplayName</key>
<string>DesignCraft</string>
<key>CFBundleName</key>