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

Re: XML and Internationalization...

  • From: Nigel Hutchison <nwoh@s...>
  • To: <xml-dev@i...>
  • Date: Tue, 10 Nov 1998 18:42:24 +0100

xml internationalisation
 I think one of the issues in the internationalisation of SGML/XML/HTML is
as follows.

Internationalising a document means creating it so that subsequently is
very convenient to be localised.

That implies if I give my SGML product documentation to a professional
translators to be translated into German say, how do they  know which parts
to be translated and which to be left alone?

for example if one of them finds

<select name="transport">
<option value="car">Car</option>
<option value="bus">Bus<//option>
</select>
<input type="submit" name="Submit" value="Submit">
<address street ="Transport Street, 234</address>


How does he or she know to translate "Car" and "Bus" but not "transport".,
"car" ,"bus" or "Transport Street"?
Which "submit" does he or she translate?

We need some kind of annotation. This annotation could or should be have
SGML syntax so that high powered SGML authoring tools can present the text
to be translated, and protect the text which must be left alone.

In an XML scenario one possible option is that you leave the XML data as it
is and provide localised style sheets to present the data  according to the
locale. Using xsl:define-constant to define localisable strings 

like this.
 
<!-- Please Localise values (but not names!!)-->
  <xsl:define-constant name="Car" value="Car"/> 
  <xsl:define-constant name="Bus" value="Bus"/>
  <xsl:define-constant name="Transport" value="Transport"/>
 <xsl:define-constant name="Submit" value="Submit"/> <!-- in the sense of
sending a form off"-->
<!-- End Localise -->

Then the translator at least knows what he has to do.



Nigel W. O. Hutchison
Technical Consultant
Software AG Germany		                              
mailto:nwoh@s...
           
Tel +49 (0)6151 92 1207                   
                                                                   *


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.