W3C home > Mailing lists > Public > public-i18n-its@w3.org > April to June 2005

[ESW Wiki] Update of "its0505ReqNamingScheme" by YvesSavourel

From: <w3t-archive+esw-wiki@w3.org>
Date: Mon, 30 May 2005 02:52:04 -0000
To: w3t-archive+esw-wiki@w3.org
Message-ID: <20050530025204.891.56782@localhost.localdomain>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification.

The following page has been changed by YvesSavourel:

  = Naming Scheme =
+ === Summary ===
+ It should be possible for translation tools to rely on a finite list of element names in a given schema.
+ === Challenge/Issue ===
+ Using documents where the elements do not follow a finite list of names may cause problem for translation tools. This is especially true if not all parts of the document are not to be translated. In that case the rules to distinguish the translatable elements from the non-translatable ones would be difficult to specify.
+ For example, the following XML excerpt is not conducive to localization because the list of elements cannot be easily codified for translation rules.
+ {{{<Ok>OK</Ok>
+ <Cancel>Cancel</Cancel>
+ <Message001>Cannot open the file.</Message001>}}}
+ === Quick Guidelines ===
+ Documents should not use elements that are dynamically created. 
+ Instead of using element names as identifiers, use an attribute to store the identifier:
+ {{{<button id="OK">OK</button>
+ <button id="cancel">Cancel</button>
+ <message id="001">Cannot open the file</message>}}}
Received on Monday, 30 May 2005 03:31:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:04 UTC