If you want to enable automatic language detection, make sure that Insert ActionScript for
4.
Automatic Language Detection is selected.
Click OK.
5.
XML file format
Exported XML is in UTF-8 format and follows the XML Localization Interchange File Format
(XLIFF)1.0 standard. It defines a specification for an extensible localization interchange format
that lets any software provider produce a single interchange format that can be delivered to, and
understood by, any localization service provider. For more information about XLIFF, see
www.oasis-open.org/committees/xliff/.
XLIFF examples
If any of the following characters are entered in the Strings panel, they are replaced by the
appropriate entity reference when written to XML files:
Character
&
'
"
<
>
Exported XML file sample
The following samples show what an XML file generated by the Strings panel looks like in the
source language—in this example, English—and in another language—in this example, French:
English source version sample
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN"
"http://www.oasis-open.org/committees/xliff/documents/xliff.dtd" >
<xliff version="1.0" xml:lang="en">
<file datatype="plaintext" original="MultiLingualContent.fla" source-
language="EN">
<header></header>
<body>
<trans-unit id="001" resname="IDS_GREETINGS">
<source>welcome to our web site!</source>
</trans-unit>
<trans-unit id="002" resname="IDS_MAILING LIST">
<source>Would you like to be on our mailing list?</source>
</trans-unit>
<trans-unit id="003" resname="IDS_SEE YOU">
<source>see you soon!</source>
</trans-unit>
<trans-unit id="004" resname="IDS_TEST">
Replaced by
&
'
"
<
>
Authoring multilanguage text with the Strings panel
245
Need help?
Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?
Questions and answers