Is it possible to change the display name of the package name depending on the country?

I would like to change the display name of the package in relation to Customizing. Can I change the display name based on country configuration?

+6
ios iphone xcode
source share
1 answer

Of course, you need to "localize" a file called "InfoPlist.strings" (this is just a text file, you can make it plain text and then import it into your project), where you need to write this:

/ * Localized version of the application name for Info.plist * /

CFBundleDisplayName = "iYourNameInEnglish";

for the English version and:

/ * Localized version of the application name for Info.plist * /

CFBundleDisplayName = "ilTuoNomeInItaliano";

for the Italian version, etc.

to โ€œlocalizeโ€ the file that you just need to select in your project (after importing it), then open its information, go to the general tab / section and select โ€œmake the file localizableโ€, then select the language version that you want to activate.

Now in the file "yourProjectName-info.plist" get the voice "Localization of the development area" and select the default language (it will be used for any language in which you were not localized), and the voice "Display Bundle" name "set to" $ {PRODUCT_NAME} "(this should already be)

Luca

+18
source share