Add localization

Localize your GWC hybrid mode application for Android.

Add a language to an Adroid project.
Note: For more information, see the Localization topic on the Android Developer web portal.
  1. Add a folder in the res folder called values-XX, where XX is the language acronym (French : fr, English : en and so on).
  2. In the values-XX folder, add a file named strings.xml. The strings.xml file inculdes language strings.

    This code would be in the strings.xml file, located in the values-en folder.

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
      <string name="app_name">GWC hybrid mode</string>
      <string name="preferences_activity_name">Preferences</string>
    </resources>