We would like to be able to modify the display name of our app in the dock and finder (etc) but not change the name of the .app bundle.
We've tried modifying CFBundleName and CFBundleDisplayName in Info.plist, but this doesn't seem to have an effect.
Is there any way to have the displayed name be different from the base name of the app bundle? We want this to apply for all languages.
Thanks!
To show a localized app name in the Dock, Apple menu, or menu items:
- Add
LSHasLocalizedDisplayName
to your Info.plist and set its value toYES
- Localize
CFBundleDisplayName
andCFBundleName
using InfoPlist.xcstrings (or InfoPlist.strings, if you don't use string catalogs).
The localized CFBundleDisplayName
should then be used in the Dock, and the localized CFBundleName
should be used in the Apple menu and menu items.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.