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.
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.
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- 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With