M
M
mifkys2015-05-14 18:41:33
iOS
mifkys, 2015-05-14 18:41:33

How to localize iOS app title in Xcode?

Good afternoon. I have already released my application to the AppStore store - personal tanning assistant "Golden Tan" ( https://itunes.apple.com/ru/app/zolotoj-zagar-licn... - so far only in Russian.
At the moment I translate it into English and there is no problem with this.I ran into the fact that I can’t localize the name of the application that is displayed on the device under the icon.The situation is as follows:
The following parameters are specified on the info tab of the GoldenTan.xcodeproj project:
bundle name: GoldenTan
Application has localized display name: YES
removed bundle display name parameter
ru.lproj/info.plist says:
bundle display name: Golden Tan
en.lproj/info.plist says:
bundle display name: Golden Tan
As a result, GoldenTan is written on the device under the icon. bundlename. If you add the bundle display name parameter to xcodeproj, then it will be displayed, and not the desired localized version.
It seems that I am doing everything as it should, but the stone flower does not come out. Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mifkys, 2015-05-14
@mifkys

For the future.
It turns out that you still need to add the Localizations key to the plist file of the project and specify the necessary localizations there. You also need to add the InfoPlist.strings file to the project and set the keys for each language in it:
ru.lproj:
"CFBundleDisplayName": "Golden tan";
"CFBundleName": "GoldenTan";
en.lproj:
"CFBundleDisplayName": "Golden Tan";
"CFBundleName": "GoldenTan";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question