Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Android app have a different name depending on locale/carrier?

On Android it is possible to have different resources depending on the locale or carrier. The app name specified in the manifest can reference a string from these resources.

What I'm wondering is:

  • Will this actually work? Will the app name change depending on the locale/carrier?
  • How will the name appear on the Market? Will the Market app pick up on the users settings and show the correct name? Which name will be used in the web version of the Market?
like image 346
pheelicks Avatar asked Aug 05 '11 11:08

pheelicks


People also ask

What is locale Android?

With Locale®, you create situations specifying conditions under which your phone's settings should change. For example, your "At Work" situation notices when your Location condition is "77 Massachusetts Ave.," and changes your Volume setting to vibrate.

How do I change my app name to another language?

Change the language setting for a specific app On your Android phone, open your Settings app. App languages. Select the app you want to change.

What is Android default locale?

The default Locale is constructed statically at runtime for your application process from the system property settings, so it will represent the Locale selected on that device when the application was launched.


1 Answers

yes,it works.Exactly in the way this says.

If your locale is say japan then android will search for the string resource at

res/values-ja/strings.xml

If resource is not there then it will search in res/values/strings.xml

I tested it and it really works

like image 64
Rasel Avatar answered Sep 30 '22 03:09

Rasel