summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-12-19 21:08:59 (GMT)
committerGitHub <noreply@github.com>2023-12-19 21:08:59 (GMT)
commit376b46d92b63223d1d415c0ec3c0c2602d7b7534 (patch)
tree9ace5be3d51f6f82391d92e9d443a7a1ca0d621d /Mac
parentce49a9f60e185e80717c0393b948e12774bfd2a6 (diff)
downloadcpython-376b46d92b63223d1d415c0ec3c0c2602d7b7534.zip
cpython-376b46d92b63223d1d415c0ec3c0c2602d7b7534.tar.gz
cpython-376b46d92b63223d1d415c0ec3c0c2602d7b7534.tar.bz2
[3.12] gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH-113213) (#113294)
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. (cherry picked from commit 4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
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>