How to localize bundle display name in iPhone app?

后端 未结 5 1661
情深已故
情深已故 2020-11-30 02:56

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

5条回答
  •  离开以前
    2020-11-30 03:50

    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:

    1. File->New->File...
    2. Choose Resource->Strings File
    3. Type in the Filename as InfoPlist.strings and save it in the correct location. EVEN If your plist is named App-Info.plist - the filename is ALWAYS InfoPlist.strings!
    4. Now the file should be open (otherwise, select it). In the left drawer, select "Localize" and after confirming that the newly created file is moved to the English folder, check the other languages you want. For a language to show up here, it needs to be listed as your localization languages
    5. Add these two lines to the InfoPlist.strings for the correct language:

      "CFBundleDisplayName" = "Name";

      "CFBundleName" = "Name";

    6. Add a new line to your App-Info.plist, "Localization native Development Region" - this set's the default development region

    And after "only" 6 simple steps, you can set your localized app name!!11!1111

提交回复
热议问题