I have an project named "Multi-Camera Supervisor". I make the "MainMenu.xib" file localized. Here are the menu bar in localized nib file of Xcode:
Xib file for English:
Xib file for Japanese:
But when I ran my application in Xcode, The first item doesn't work. Here are the menu bars when my application ran:
Running menu bar for English:
Running menu bar for Japanese
You can see that the application name was still "Multi-Camera Supervisor" and NOT LOCALIZED.
Meanwhile, the application name appeared in Dock icon was not localized either.
How should I solve this? How can I localize the application name not only in main menu but also in Dock?
Make sure you add a LSHasLocalizedDisplayName
key with a boolean value of YES
to the app's Info.plist
. I believe that key is necessary to make sure the localized CFBundleDisplayName
and CFBundleName
values are used for the menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With