[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Multi-lingual experiment - a call for action

  • From: "Didier PH Martin" <martind@n...>
  • To: "Xml-Dev" <xml-dev@x...>
  • Date: Sun, 16 Apr 2000 13:41:34 -0400

xml multi doctype
Hi,

I am proposing a group effort to create a multi-lingual document so that we
can concretely see what is a multi-lingual document instead of talking about
the subject in the abstract. Let's create a very simple document with the
following DOCTYPE. This document will be freely available for XML-DEV people
to experiment with.

We need element translation in any language we can get. The encoding will be
in Unicode (UTF-16) so that we can read the document with any Unicode
enabled word processor or XML editor. At the same time, this can be used as
a test for the multi-lingual support of XML authoring tools.

The document is a simulated document that is the result of a query to a
database.

The original document:
<!DOCTYPE xmldev-experiment [
<!ELEMENT xmldev-experiment(item)+ >
<!ELEMENT item (title, author, publisher, price) >
<!ATTLIST item  xml:lang CDATA #REQUIRED >
<!ELEMENT title (#PCDATA) >
<!ELEMENT author (#PCDATA) >
<!ELEMENT publisher (#PCDATA) >
<!ELEMENT price (#PCDATA) >
<!ATTLIST price currency CDATA #REQUIRED>
]>
<xmldev-experiment>
<item xml:lang="english">
<title>STL Tutorial</title>
<author>David Musser</author>
<publisher>Addison Wesley</publisher>
<price currency="can">54.50</price>
</item>
</xmldev-experiment>


what is required for the experiment:
a) a translation of the DTD into other languages
b) a translation of the content into other languages

We'll produce documents that include elements encoded in different languages
and this will represent the output of a database where the fields are
encoded in a particular native language but with a translation in other
languages like below:

(please if the translation is not perfect, please, do not hesitate to
mention it, I didn't spoke German since quite a long period of time)

<!DOCTYPE Erfahrung [
<!ELEMENT Erfahrung (Objekt)+>
<!ELEMENT objekt (titel,autor,herausgeber,einkaufspreis)
<!ATTLIST objekt  xml:lang CDATA #REQUIRED >
<!ELEMENT titel (#PCDATA) >
<!ELEMENT autor  (#PCDATA) >
<!ELEMENT herausgeber (#PCDATA) >
<!ELEMENT einkaufspreis (#PCDATA) >
<!ATTLIST einkaufspreis devise??? CDATA #REQUIRED> Note: I am not sure about
the word devise to translate currency, I am maybe mixing up with an other
language.
]>

<Erfahrung>
<objekt xml:lang="english">
<titel>STL Tutorial</title>
<autor>David Musser</autor>
<herausgeber>Addison Wesley</herausgeber>
<einkaufspreis devise="CAN">54.50<einkaufspreis>
</objekt>
</Erfahrung>

And so forth

If we can get DTD translations in Russian, Chinese, Japanese, Korean and so
forth this would be even better. The more languages we get, the best it is.
You can send me the translated DTD encoded in Unicode to my email address. I
will make the documents available to the XMLdev people for testing,
discussion or experiments. The documents will be posted on an FTP site for
free download.

Cheers
Didier PH Martin alias Bacon :-)
----------------------------------------------
Email: martind@n...
Conferences: XML Europe (http://www.gca.org)
Book: XML Professional (http://www.wrox.com)
column: Style Matters (http://www.xml.com)
Products: http://www.netfolder.com


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.