MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 244

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

Advertisement

Publishing and deploying multilanguage text
When you save, publish, or test the FLA file, a folder with an XML file is created for each
available language you selected in the Strings panel. The default location for the XML folders and
files is the same folder indicated as the SWF publish path. For more information, see
Flash documents" on page
files are saved in the folder in which the FLA file is located. For example, if you have a file named
Test in the mystuff folder, and you have selected English (en), German (de), and Spanish (es) as
available languages, and you have not selected a SWF publish path, when you save the FLA file,
the following folder structure is created:
\mystuff\Test.fla
\mystuff\de\Test_de.xml
\mystuff\en\Test_en.xml
\mystuff\es\Test_es.xml
When you deploy a SWF file, you also need to deploy the associated XML files with the string
translations in the web server. The first frame that contains text cannot appear until the entire
XML file is downloaded.
Automatic language detection and the default language
You can change the default language to any language that you have selected as an available
language. When automatic language detection is turned on, and the SWF file is viewed on the
language operating system platform, the default language appears on any system that is set to a
default language other than those languages you selected. For example, if you set your default
language to English, and if you selected JP, EN, and FR as available languages, users who have
their system language set to Japanese, English, or French automatically see text strings in their
language. However, users who have their system language set to Swedish, which is not one of the
selected languages, automatically see text strings in the default language you selected—in this
case, English.
When you publish a Flash application (select File > Publish), however, the default language
setting specified in the Strings panel Settings dialog box is published in the resulting SWF file. For
example, if the default language set in the Strings panel Settings dialog box is French, but the
operating system and Flash are in English, the published SWF file is in the default language,
which, in this case, is French.
Note: When you test a Flash application (select Control > Test Movie), the Stage language setting
specified in the Strings panel is published in the resulting SWF file. For example, if the Stage
language set in the Strings panel Settings dialogue box is English, and the default language is
French, the test SWF file is in the Stage language, in this case English.
To select the default language and automatic language detection:
Select Window > Other Panels > Strings to open the Strings panel.
1.
Click the Settings button to show the Settings dialog box.
2.
In the Default language pop-up menu, select the language you want to use for the default
3.
language. This must be a language you have added as an available language.
244
Chapter 13: Creating Multilanguage Text
311. If no SWF publish path has been selected, the XML folder and
""Publishing

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents