开发者

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

开发者 https://www.devze.com 2023-03-25 07:57 出处:网络
On Android it is possible to have different resources dependi开发者_开发百科ng on the locale or carrier. The app name specified in the manifest can reference a string from these resources.

On Android it is possible to have different resources dependi开发者_开发百科ng 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号