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

i18n and l10n question

Subject: i18n and l10n question
From: Nicolas Van Cleemput <nicolas.vancleemput@xxxxxxxx>
Date: Mon, 06 Nov 2006 10:41:26 +0100
 i18n and l10n question
hi,

in our application we currently use XML-files that are structured as follows:

<factory>
  <i18n>
     <properties>
        <entry key="id1">text</entry>
        ...
     </properties>
     <node name="nl">
       <properties>
          <entry key="id1">text in other language</entry>
          ...
       </properties>
     </node>
     <node name="fr">
       <properties>
          <entry key="id1">another translation</entry>
          ...
       </properties>
     </node>
     (and so on for all the available locales)
  </i18n>
  <other_tags></other_tags>
  ...
</factory>

We are now planning to use XSL to create help pages from these XML-files. We
want this to be done with the correct rules for i18n, i.e. if the text for id1
isn't available in the demanded locale, it defaults to a lesser specific locale
untill it reaches the default locale (the one that isn't inside a
<node></node>).

Any idea how this can be done with XSL (and maybe some JAVA-programming)?

Thanks in advance,
Nico Van Cleemput
University Ghent
http://www.UGent.be

Current Thread

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
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.