Selecting languages for translation

You can select up to 100 different languages that can be displayed on the Stage and in the Strings panel for translation. Each language you select becomes a column in the Strings panel. You can change the Stage language to display the text on the Stage in any of the languages you selected. The selected language is displayed when you publish or test the file.

When selecting languages, you can use any of the languages provided in the pop-up menu, as well as any other Unicode-supported language.

To select a language:

  1. Select Window > Other Panels > Strings to open the Strings panel.
  2. Click the Settings button to display the Settings dialog box.
  3. Add a language by doing one of the following:
    • In the Languages pop-up menu, highlight a language you want to select, then click the Add button.
    • If the language does not appear in the pop-up menu, in the blank field below the Select languages pop-up menu, type a language code and optional country code, in the format xx_XX. Then click the Add button. The first part, xx, is the language code from ISO 639-1, and XX is the optional uppercase two-letter country code from ISO 3166-1.

    After you click the Add button, the language is displayed in the Available Languages field.

  4. Repeat step 3 until you have added all the languages you want to add.
  5. In the Default language field, select a default language. This language is displayed on systems that do not have one of the available languages you selected.
  6. If you want to load an XML file for the languages from a different URL at runtime, type the URL in the URL text box.

    Note: The XML file generated by Flash is always stored in a folder for the language within the folder for the FLA file.

  7. Click OK.

    A column for each selected language is displayed in the Strings panel. The columns are displayed in alphabetical order.

  8. Save the FLA file. When you save the FLA file, a folder for each language you selected is created in the same folder the FLA file resides in. Within each language file an XML file is created that is used to load translated text.

To remove a language:

  1. Select Window > Other Panels > Strings to open the Strings panel.
  2. Click the Settings button to display the Settings dialog box.
  3. In the Available Languages field, highlight a language you want to remove, then click the Remove button.

    The language is no longer displayed in the Available Languages field.

  4. Repeat step 3 until all the languages you want to remove are removed.
  5. When you are done removing languages, click OK.

    The column for each removed language is no longer displayed in the Strings panel.