wiki-archive/twiki/data/SDD/Primer/SddLanguage.txt

39 lines
1.6 KiB
Plaintext

%META:TOPICINFO{author="DonovanSharp" date="1156902394" format="1.1" version="1.5"}%
%META:TOPICPARENT{name="SddContents"}%
---++SDD Part 0: Introduction and Primer to the SDD Standard
---+++3.10 Language support in SDD
SDD allows the use of any language supported in the xml namespace. Translations to and from languages can be explicitely tagged. Language can be specified and multiple entries included for all text based elements within SDD. All elements containing a <Label> tag may contain language specific markup.
%ATTACHURL%/labelattributes.jpg
---++++Example 3.10.1 - Language support in SDD
<table bgcolor="#ddddff" border="0" width="100%" cellpadding="5" cellspacing="5" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td>
<verbatim>
<Representation>
<Label xml:lang="en">Flying Fishes of the world</Label>
<Label xml:lang="de">Fliegende Fische der Welt</Label>
<Detail xml:lang="en" role="Description">A digital field guide</Detail>
<Detail xml:lang="en" role="Coverage">Flying Fishes (Exocoetidae)</Detail>
<Detail xml:lang="de" role="Coverage">Fliegende Fische (Exocoetidae)</Detail>
<Detail xml:lang="en" translatedfrom="sp" role="Abstract">Abstract translated from Spanish goes here</Detail>
<MediaObject ref="m1"/>
</Representation>
</verbatim>
</td>
</tr>
</table>
-- Main.DonovanSharp - 01 Jun 2006
%META:FILEATTACHMENT{name="labelattributes.jpg" attachment="labelattributes.jpg" attr="" comment="" date="1149652845" path="labelattributes.jpg" size="33073" stream="labelattributes.jpg" user="Main.DonovanSharp" version="1"}%