iOS Swift: Application name is pulled from project settings and not from Info.plist

935 Views Asked by At

The title pretty much explains everything. I cant get my application name localized because it is pulled from the project settings' info tab and not from the Info.plist files.

How can I achieve, that the names in the localized info.plist files will be used, and not the one in the project settings?

1

There are 1 best solutions below

0
On BEST ANSWER

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

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

"CFBundleDisplayName" = "NameInAccordingLanguage"

pretty simple in the end, but I got stuck trying to localize the Info.plist