How to customize the display name of an app in the MacOS dock?

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!

Answered by DTS Engineer in 789426022

To show a localized app name in the Dock, Apple menu, or menu items:

  1. Add LSHasLocalizedDisplayName to your Info.plist and set its value to YES
  2. Localize CFBundleDisplayName and CFBundleName 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.

To show a localized app name in the Dock, Apple menu, or menu items:

  1. Add LSHasLocalizedDisplayName to your Info.plist and set its value to YES
  2. Localize CFBundleDisplayName and CFBundleName 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.

When I have two versions of an app, an ad version and a pro version, and generate separate InfoPlist.xcstrings for each and set the Target Membership, it doesn't seem to take effect.

How to customize the display name of an app in the MacOS dock?
 
 
Q