summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2023-12-18 23:41:41 (GMT)
committerGitHub <noreply@github.com>2023-12-18 23:41:41 (GMT)
commit4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b (patch)
tree21b6e8e0f365bd60341e8c8c1daad91515b62f1b /Mac
parent41336a72b90634d5ac74a57b6826e4dd6fe78eac (diff)
downloadcpython-4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b.zip
cpython-4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b.tar.gz
cpython-4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b.tar.bz2
gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH-113213)
Adding this key with a value of true enables detecting the users prefered language in libraries accessing system APIs for this.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/IDLE/IDLE.app/Contents/Info.plist2
-rw-r--r--Mac/Resources/app/Info.plist.in2
-rw-r--r--Mac/Resources/framework/Info.plist.in2
3 files changed, 6 insertions, 0 deletions
diff --git a/Mac/IDLE/IDLE.app/Contents/Info.plist b/Mac/IDLE/IDLE.app/Contents/Info.plist
index fea06d4..20b97b6 100644
--- a/Mac/IDLE/IDLE.app/Contents/Info.plist
+++ b/Mac/IDLE/IDLE.app/Contents/Info.plist
@@ -56,5 +56,7 @@
<string>%version%</string>
<key>NSHighResolutionCapable</key>
<true/>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <true/>
</dict>
</plist>
diff --git a/Mac/Resources/app/Info.plist.in b/Mac/Resources/app/Info.plist.in
index 4ec828f..8362b19 100644
--- a/Mac/Resources/app/Info.plist.in
+++ b/Mac/Resources/app/Info.plist.in
@@ -58,5 +58,7 @@
<string>(c) 2001-2023 Python Software Foundation.</string>
<key>NSHighResolutionCapable</key>
<true/>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <true/>
</dict>
</plist>
diff --git a/Mac/Resources/framework/Info.plist.in b/Mac/Resources/framework/Info.plist.in
index e131c20..238441c 100644
--- a/Mac/Resources/framework/Info.plist.in
+++ b/Mac/Resources/framework/Info.plist.in
@@ -24,5 +24,7 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>%VERSION%</string>
+ <key>CFBundleAllowMixedLocalizations</key>
+ <true/>
</dict>
</plist>