Select and remove languages for translation

As many as 100 languages can appear on the Stage and in the Strings panel for translation. Each language you select becomes a column in the Strings panel. To show the text on the Stage in any of the languages you selected, change the Stage language. The selected language appears when you publish or test the file.

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

Select a language

  1. Select Window > Other Panels > Strings, and click Settings.
  2. Add a language by doing one of the following:
    • In the Languages box, highlight a language to select, and click Add.

    • If the language does not appear in the Languages box, in the blank field below the Languages box, type a language code in the format xx. (The language code is from ISO 639‑1.) Click Add.

  3. Repeat step 3 until you have added all the necessary languages.
  4. Select a default language from the Default runtime language menu. This language appears on systems that do not have one of the active languages you selected.
  5. To load an XML file for the languages from a different URL at runtime, type the URL in the URL text field and click OK.

    A column for each selected language appears in the Strings panel. The columns appear in alphabetical order.

  6. Save the FLA file. When you save the FLA file, a folder for each language you selected is created in the same folder indicated in the SWF publish path. If no SWF publish path has been selected, it is created in the folder the FLA file resides in. Within each language file an XML file is created that is used to load translated text.

Remove a language

  1. Select Window > Other Panels > Strings, and click Settings.
  2. In the Active languages field, highlight a language and click Remove.
  3. Repeat step 3 until you have removed all the unwanted languages.
  4. When you finish removing languages, click OK.

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

Note: When you remove a language from the Strings panel, the language XML file is not deleted from the local file system. This lets you add the language back into the Strings panel by using the previous XML file, and prevents accidental deletion. To completely remove the language, you must delete or replace the language XML file.
Related Information

  This page on the Web