IOS Swift: App name is pulled from project settings, not Info.plist

The title pretty much explains everything. I cannot call my application name localized because it is pulled from the information tab of the project options and not from the Info.plist files.

How can I ensure that the names are used in the localized info.plist files and not in the project settings?

+3


source to share


1 answer


I found a solution! I was very confused that you can localize Info.plist in your project. In fact, you should never do this!

In the end I just needed to create a new strings file (InfoPlist.strings). I localized this and added:



"CFBundleDisplayName" = "NameInAccordingLanguage"

pretty simple at the end, but I'm stuck trying to localize Info.plist

0


source







All Articles