Reputation: 341
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.
Upvotes: 18
Views: 8110
Reputation: 464
In my case I had to localize (English, deprecated)
.
InfoPlist.strings(Base)
was.. not used.
Adding "CFBundleName" = "My_App_Name";
in InfoPlist.string
is enough.
Upvotes: 3
Reputation: 341
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).
Upvotes: 16