I was trying to localize my iOS App. And can't do this.
In info.plist I have:
Bundle Name = $(PRODUCT_NAME)
Bundle Display Name = $(PRODUCT_NAME)
Created a infoPlist.strings file
Localized this file.
In each localized file I wrote:
"CFBundleDisplayName" = "My_App_Name";
"CFBundleName" = "My_App_Name";
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.
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.
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.
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.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With