Localize iOS app name in Swift

I tried to localize the iOS application. And can’t do it.

  • In info.plist I have:

Bundle Name = $ (PRODUCT_NAME)

Package Display Name = $ (PRODUCT_NAME)

  1. InfoPlist.strings file created
  2. Locate this file.
  3. In each localized file, I wrote:

"CFBundleDisplayName" = "My_App_Name";

"CFBundleName" = "My_App_Name";

  1. Added Bool to info.plist with the name "Application has a localized display name" and changed it to YES.

I changed the iPhone language to localize infoplist.strings, but this does not take effect. The name of the application does not change from the name that I wrote when creating the project.

+8
ios iphone xcode swift localization
source share
1 answer

The reason the package name is not localized is because I call the localization of the file "infoPlist.strings". This should be "InfoPlist.strings" (I is uppercase, as in Info.plist).

+9
source share

All Articles