Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Android app name localization

Discussion in 'Android' started by correptus, Nov 17, 2015.

  1. correptus

    correptus

    Joined:
    Apr 14, 2015
    Posts:
    17
    Hello!

    I used to create strings.xml file in Plugins/Android/res/values-xx folder to localize android app name. But in unity 5 2 1 it does not work for me anymore. So my question is: what should i do to make my app appear with different names at different languages.

    xml looks like this -

    Code (JavaScript):
    1. <?xml version="1.0" encoding="utf-8"?>
    2. <resources>
    3.     <string name="app_name">My app name</string>
    4. </resources>
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    There was a bug that resources under res/ are not picked up. That was solved in 5.2.2 if i recall correctly.
     
    correptus likes this.
  3. correptus

    correptus

    Joined:
    Apr 14, 2015
    Posts:
    17
    Yes it works. Thank you.
     
  4. GameOps

    GameOps

    Joined:
    Dec 24, 2019
    Posts:
    19
    @liortal Do you have a good tutorial to do that with Android archive or library since it is deprecated now ?
     
  5. continuebutton

    continuebutton

    Joined:
    Jan 26, 2016
    Posts:
    3