Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the name of application in Launcher in android according to the language selected in Settings of Phone?

How to change the name of the applications on that screen which appears on clicking Launcher Icon on Home Screen in Android according to the language selected in Settings(Settings->Language & Keyboard) of Phone? In other words, if we make application "Abhishek" & select "French" language in Settings of phone, then name of the application on that screen should display in french. Thanks in advance for help.

like image 647
abhishek kumar gupta Avatar asked Apr 05 '11 12:04

abhishek kumar gupta


People also ask

How do I change the name of an app before installing it?

Go to the app > manifests > AndroidManifest. xml file and change the android:label field in your application node in AndroidManifest. xml. As we can see in the Manifest.

How do I change the default app name in Android Studio?

Usually, when you change the project name, you wanna change the name of your app too. Go to the res folder > values > strings. xml and change the app_name to your new name. Done!


1 Answers

you simply have to store the Strings.xml in a folder with the countrycode eg one Strings.xml in values-en one in values-fr and one in values-de. The app will automatically pic the folder with the right country-code according to the phone language

like image 144
2red13 Avatar answered Sep 28 '22 05:09

2red13