- Home /
Different app name for different languages (Android).
Hi, do you know any way to change the application name according to region? Like when a person from America downloads the app, app's name on his device will be "Hello", but when a person from Germany downloads, it will be "Hallo" despite the same APK.
I don't want to post several APKs just to have localized names on the market. Thanks for your help.
The answer here will vary extremely depending on which type of device you are talking about. Please specify your question more.
Answer by sozeray · Feb 19, 2014 at 11:09 PM
For anyone with the same problem, I solved it by altering the "string.xml" file in the directory "plugins/Android/res/values-xx".
You just have to open it with a notepad application and type the following in:
<string name="app_name">My Amazing App</string>
this is deprecated in unity 5. so what is the solution in unity 5?
did you found a solution? I am facing with this problem in Unity 5.4 these methods doesn't works
Hi @sozeray, The technique you mentioned above does not seem to work with Unity 2019. $$anonymous$$y build fails when I put value files under res directory.,Hi @sozeray , The above strategy does not seem to work with Unity 2019. When I put the value files, the build fails. Is there any other way to accomplish this ?
Answer by MapuHoB · Dec 09, 2015 at 08:55 PM
If it doesn't already exist, create a folder \Assets\Plugins\Android\res\values-xx for each additional language you want to support. Substitute "xx" with the two letter language ( not country! ) code.
Also make one without a language code ( \Assets\Plugins\Android\res\values ) which will be the default one, if your device doesn't match any of the languages you created.
In each of those folders, create an xml file called strings.xml containing this:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Hello World</string>
</resources>
Resource- http://www.bitsofbas.com/blog/post/32/localizing-app-name-in-android