How can I localize bundle display name of an iPhone app? The name displayed in iPhone main screen under app icon. I wish a single binary bundle package which will be display
Add InfoPlist.strings to your project and localize it. Put this in different languages:
"CFBundleDisplayName" = "App Name";
Xcode 9.4.1
Create a new file called InfoPlist.string (string file)
Add your languages to this file, in the Localization-menu on the right, after clicking once on the new file. Expand the InfoPlist.sting file and add CFBundleDisplayName in all files with your translations:
"CFBundleDisplayName" = "My i18n App Name";
In Info.plist add two new values(or make sure they are there):
Bundle display name = $(PRODUCT_NAME)
Application has localized display name = YES
In Info.plist provide the localized (translated) name for the following keys:
Bundle Display Name
Bundle Name
This will show up your application translated name under the icon on iPhone desktop
Here's some instructions:
InfoPlist.strings
cmd-opt-0
) and select the first paneen.lproj
in the item's original folder. Re-select it in the Project Navigator.It's generally good to start with all the items you want to localize in the same folder, that way when they get localized, Xcode doesn't create a whole bunch of en.lproj
and ja.lproj
files all over your project. Call it something like "Localized Resources".
You can localize the app name now by adding the localized name to each file like this (for the French localized file):
"CFBundleDisplayName" = "Bonjour";
Okay, even though this is a pretty old question, it came up high on my google searches for this topic. Hence I thought it might make sense to update the answers:
In Xcode 4.X, follow these steps to localize your bundle name:
Add these two lines to the InfoPlist.strings for the correct language:
"CFBundleDisplayName" = "Name";
"CFBundleName" = "Name";
And after "only" 6 simple steps, you can set your localized app name!!11!1111