Commit 8e9383a
macos: declare CFBundleLocalizations so UI culture is detected in .app
Without a CFBundleLocalizations array, macOS reports "en" to
CFBundleCopyPreferredLocalizations regardless of the user's language
preferences, so CultureInfo.CurrentUICulture always resolved to English
inside the packaged .app. Declare the languages we actually ship (en,
zh-Hans) so the system returns the correct match.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 672f917 commit 8e9383a
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
0 commit comments