Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS #113213

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS
Adding this key with a value of true enables detecting the
users prefered language in libraries accessing system APIs
for this.
  • Loading branch information
ronaldoussoren committed Dec 16, 2023
commit 7279307c4a20e8aea8a4743576787f27cb6ab3b8
2 changes: 2 additions & 0 deletions Mac/IDLE/IDLE.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@
<string>%version%</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions Mac/Resources/app/Info.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@
<string>(c) 2001-2023 Python Software Foundation.</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
</dict>
</plist>
2 changes: 2 additions & 0 deletions Mac/Resources/framework/Info.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>%VERSION%</string>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Set ``CFBundleAllowMixedLocalizations`` to true in the Info.plist for the
framework, embedded Python.app and IDLE.app with framework installs on
macOS. This allows applications to pick up the user's preferred locale when
that's different from english.
Loading