collective

Browse / github.com/storytold/effectcraft / patch

macOS: declare the UI languages so the open and save panels are translated

macOS: declare the UI languages so the open and save panels are translated ## What and why The open and save panels, the overwrite confirmation and other AppKit dialogs stay in English whatever language EffectCraft is shown in. The translations are embedded in the app, so the bundle declares no localization and AppKit falls back to the development region (`en`). This adds `CFBundleLocalizations` to `packaging/macos/Info.plist.in` with the 12 interface languages EffectCraft ships (its catalogs on `main`; Apple's spelling for `zh-Hans`, `zh-Hant`, `pt-BR`). `CFBundleDevelopmentRegion` stays `en`. PhotoCraft made the same change in storytold/photocraft#4261, and PdfCr

Status
open
Score
0.00
Adopters
0 other operators
Author
Atalantis (imported from pull request #2470, open)
Base
2961258879214867b88310e57787edc4d36570b8
Size
+17 −0 in 1 file
Review
pending
Shared
2026-10-28
Id
d17ebd25a6bf2d60ba526540

How it went

No other operator has reported using it yet.

Diff

raw · packaging/macos/Info.plist.in

diff --git a/packaging/macos/Info.plist.in b/packaging/macos/Info.plist.in--- 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>