Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change iPhone app name according to language selected?

Tags:

iphone

Is it possible to change app name according to the user's language preferences?

e.g If English is the language of user's iPhone then app name is "Hello" and if the language is French it would be "Bonjour".

Thanks in advance.

like image 273
SST Avatar asked Dec 22 '10 13:12

SST


People also ask

How do I change the language of one app on my iPhone?

Change The App Language in iPhone or iPad AppsTap on the Settings app on the Home screen. Scroll down, select the app you wish to change its language. Select Language under Preferred Language. Choose the language you want to use.

How do I change my app Display name?

Go to the app > res > values > strings. xml file as shown in the below image. In this file we have a string name as app_name it is the string resource that holds the current app name which is passed in the Manifest. xml file's application tag inside the label attribute.


1 Answers

1- add a plist file to you project 2- name it InfoPlist.strings 3- make it localized by adding a french language 4- xcode will create two version: one for english and the other for french

open the english vesion and add the line:

CFBundleDisplayName="Hello";

open the french version and add the line

CFBundleDisplayName="Bonjour";

test your application and you will see your app. name chane according to the user local.

like image 188
Nasser Avatar answered Oct 13 '22 13:10

Nasser