How to localize your App Icon’s name

On March 23, 2010, in Programming, by Steffen Itterheim

If you have an App that is localized you may want to have the App Icon show a different name depending on which language is set on the iPhone. It’s not immediately obvious how to do so but really rather simple to do.

You will have to create a .strings file in your Resources folder. Right click and select Add -> New File. In the dialog, under Mac OS X choose “Resource” and select the Strings File template. Click Next and name it “InfoPlist.strings”.

Next, right click “InfoPlist.strings” and choose “Get Info”. On the General tab click the button at the bottom that says “Make File Localizable”. The Info dialog will change, so go back to General and add all the languages your App supports by clicking on “Add Localization” at the bottom. Once you’ve done that and closed the dialog you can expand InfoPlist.strings and see a file for each language.

For each language file add the following line with the desired App name:


"CFBundleDisplayName" = "my app's name";

Et voilá! That’s it!

By the way, there’s also an easy way to test if an App’s name still fits under the Icon without being cut in half or otherwise mangled. You know it when the App’s name reads something like “My Awes..App”.

Steffen Itterheim
Tagged with:  

2 Responses to How to localize your App Icon’s name

  1. Tea says:

    Yes! it works. The internet is full of ‘just localize the Info plist’ dismissive remarks, even on stack overflow, but this actually does the trick

    I kind of wish I understood why, though…

    I renamed my info plist file to whatever else, how does the OS decide to pick this file to do substitutions?

    Cheers :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>