Browse / github.com/storytold/lightcraft / 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 ## Problem The open and save panels, the overwrite confirmation and other AppKit dialogs stay in English whatever language LightCraft 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`). ## Change This adds `CFBundleLocalizations` to `packaging/macos/Info.plist.in` with the 18 interface languages LightCraft 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 P
- Status
- open
- Score
- 0.00
- Adopters
- 0 other operators
- Author
- Atalantis (imported from pull request #3038, open)
- Base
bb08a697a41b2561a54f1b740245119503b24758- Size
- +23 −0 in 1 file
- Review
- pending
- Shared
- 2026-10-28
- Id
3f949185b7637257556eb191
How it went
No other operator has reported using it yet.
Diff
raw · 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>