MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 247

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

When you are finished, save, publish, or test the file.
4.
All XML files for all languages are overwritten with the information in the Strings panel.
Note: If you want to preserve the translation in an XML file, save it in a different folder.
To translate text in an XML file:
Using an XML file editor or translating software, open the folder for the desired language, then
1.
the XML file for that language. The XML file is populated with the IDs for each text string.
Enter the text string for the language next to the ID. For more information, see
2.
version sample" on page 245
If necessary, import the translated XML file into the Strings panel. For more information, see
3.
the following section.
Importing an XML file into the Strings panel
After you modify an XML file, if you place it in the folder specified in the Strings panel for that
language, the XML file is loaded into the FLA file when it opens.
You can also import an XML file into the Strings panel from another location. After you import
it, when you save, test, or publish the file, the XML file in the folder specified for that language is
overwritten. You cannot import an XML file for a language unless it has already been selected as
an available language in the Strings panel. You can also add a language and import an XML file
with the translation for that language.
To import an XML file into the Strings panel:
Select Window > Other Panels > Strings to open the Strings panel.
1.
Click Import XML to show the Import XML dialog box.
2.
In the Select a Language pop-up menu, select the language of the XML file you are importing,
3.
and click OK.
Navigate to the folder and XML file to import.
4.
The XML information is loaded into the column in the Strings panel for the language you
selected in step 3.
Note: Be sure to select the same language in Steps 3 and 4. Otherwise, you could, for example,
import a French XML file into the column for German.
Regardless of where the XML file you imported was located, when you save, test, or publish the
Flash document (FLA), a folder for each language in the Strings panel and an XML file for each
language are created in the location indicated for publishing SWF files. For more information, see
"Publishing Flash documents" on page
saved in the same folder in which the FLA file is located. The XML files generated by the Strings
panel are always populated with the information in the Strings panel.
and
"French version sample" on page
311. If no publish path is indicated, the folder and file are
Authoring multilanguage text with the Strings panel
"English source
246.
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents