Exported xml file sample – Adobe Flash Professional CS3 User Manual

Page 293

Advertising
background image

FLASH CS3

User Guide

287

Exported XML file sample

The following examples show what an XML file that the Strings panel generates 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">

<source></source>

</trans-unit>

</body>

</file>

</xliff>

French 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="fr">

<file datatype="plaintext" original="MultiLingualContent.fla" source-language="EN">

<header></header>

<body>

<trans-unit id="001" resname="IDS_GREETINGS">

<source>Bienvenue sur notre site web!</source>

</trans-unit>

<trans-unit id="002" resname="IDS_MAILING LIST">

<source>Voudriez-vous être sur notre liste de diffusion?</source>

</trans-unit>

<trans-unit id="003" resname="IDS_SEE YOU">

<source>A bientôt!</source>

</trans-unit>

<trans-unit id="004" resname="IDS_TEST">

<source></source>

</trans-unit>

</body>

</file>

</xliff>

Advertising