Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to localize name of iOS application

I was trying to localize my iOS App. And can't do this.

  1. In info.plist I have:

    Bundle Name = $(PRODUCT_NAME)
    Bundle Display Name = $(PRODUCT_NAME)
    
  2. Created a infoPlist.strings file

  3. Localized this file.

  4. In each localized file I wrote:

    "CFBundleDisplayName" = "My_App_Name";
    "CFBundleName" = "My_App_Name";
    
  5. Added a Bool to info.plist named "Application has localized display name" and changed it to YES.

I have changed the iPhone language for infoPlist.strings localizations, but this doesn't take effect. App name doesn't change from the name, that I wrote at the project creating.

like image 865
Fresh Fruit Avatar asked Jan 08 '15 19:01

Fresh Fruit


People also ask

How do I localize my iOS app?

Localize Your AppUse the Xcode Export For Localization feature to automatically extract all localizable content, including localized strings referenced from code, stringsdict files, and Interface Builder files, as well as any localized assets.

How do I localize in iOS Swift?

Click on iOS->App/Single View App->Next. Name your project and select the language as Swift. Select a desired location and click on Create. To start with Localization, click on your Project Name -> go to Info Tab -> Under Localizations, click on the '+' button.

What is Localisation in iOS?

Localization is the process of making your app support other languages. In many cases, you make your app with English user interface first and then localize the app to other languages such as Japanese. The process of localization is tedious, and steps of it change little by little as XCode gets updated.


1 Answers

The reason for bundle name doesn't localize was that I name localize file "infoPlist.strings". It should be "InfoPlist.strings" (I in upper case like in Info.plist).

like image 150
Fresh Fruit Avatar answered Oct 03 '22 17:10

Fresh Fruit