Translating selected strings to a new language

Using the Localization Files Editor, you can translate selected strings from one language to one or more other languages.

  1. Launch the Localization Files Editor using one of the following methods:
    • Double-click res/values/strings.xml (or any of the localized strings.xml files in your project).
    • Right-click res/values/strings.xml (or any of the localized strings.xml files in your project) and select Open With > Other. From the Editor Selection dialog, select Localization Files Editor and click OK.
    The Localization Files Editor appears, showing the base (or default) strings file and any localized strings files.
  2. If desired, hide columns to simplify the editing process. To hide a column, right-click anywhere within the Localization Files Editor table, select Show Columns, and then select the column to be hidden. (Repeat this step to show a previously hidden column.)
  3. Select the text strings to be translated (all strings being translated must be in the same language), then right-click one of them and select Translate cell(s) from the menu that appears. The Translate Cells dialog appears.
  4. Verify that the translation service you wish to use is selected in the Service list.
  5. Verify that the language being translated from is correctly indicated. If not, select it from the list indicated by Translate from.
  6. In the To section of the dialog, specify the desired target languages. Note that you can only translate into languages for which there already exists a localization file (and therefore there is a corresponding column shown in the Android Localization Files Editor). Select a target languages list and type the first character of the desired language to quickly scroll through the list. Your computer's up- and down-arrow keys can then be used to rapidly iterate through the alphabetical list of languages.
  7. Click OK to translate the strings.
  8. Select File > Save within the Android Localization Files editor to save your changes.
Related reference
Translate Cells dialog