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. Dismiss Notice

Google Play App Translation Service with Unity?

Discussion in 'Android' started by Retruate, Apr 27, 2016.

  1. Retruate

    Retruate

    Joined:
    Jul 5, 2014
    Posts:
    111
    Hello,

    The App Translation Service by Google takes an XML strings resource file (strings.xml) and translates it to a requested locale. You can read about it here and you can find it in the Google Play Developer Console. In Android Studio, the XML file generated goes in the <app_root>/res/values/ folder, and the correct locale is automatically loaded by the Android system based on the device's locale.

    Is there any way to use this feature in Unity? I already use a Google plug-in and there is no "res/values/" folder.

    Thanks :).
     
  2. Retruate

    Retruate

    Joined:
    Jul 5, 2014
    Posts:
    111
    If anybody has been watching this thread, I figured out a way to do it with XML Deserialization. I posted about it here.