Localize Rover Strings

The Rover SDK has a couple of strings that can be localized into different languages you desire your app to support.

Translations can be added for the Close button and the error message shown when failing to fetch an experience. In order to achieve this add a locale-qualified strings.xml file inside your project’s res/ directory. Then in this file add entries for the key close to add a translation for the Close button and add an entry for rover_experiences_fetch_failure to add a translation for the fetch error message:

    <string name="close">TRANSLATION HERE</string>
    <string name="rover_experiences_fetch_failure">TRANSLATION HERE</string>

These correspond to the following:

Close Button

Fetch Failure Message