Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

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

Florent Siegenthalerff913833de19
diff --git a/packaging/macos/Info.plist.in b/packaging/macos/Info.plist.in
index fd87f601e..f93cfda0e 100644
--- a/packaging/macos/Info.plist.in
+++ b/packaging/macos/Info.plist.in
@@ -6,6 +6,29 @@
<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>fi</string>
+ <string>fr</string>
+ <string>id</string>
+ <string>it</string>
+ <string>ja</string>
+ <string>ka</string>
+ <string>pl</string>
+ <string>pt-BR</string>
+ <string>ru</string>
+ <string>sv</string>
+ <string>uk</string>
+ <string>vi</string>
+ <string>zh-Hans</string>
+ <string>zh-Hant</string>
+ </array>
<key>CFBundleDisplayName</key>
<string>LightCraft</string>
<key>CFBundleName</key>