Skip to content

v1.0.0: macos: declare CFBundleLocalizations so UI culture is detected in .app

Choose a tag to compare

@mahoshojoHCG mahoshojoHCG released this 18 Apr 22:46
· 1 commit to main since this release
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>