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

[ESW Wiki] Update of "its0601TechLangDev" by YvesSavourel

From: <nobody@w3.org>
Date: Sun, 02 Apr 2006 21:44:56 -0000
To: nobody@w3.org
Message-ID: <20060402214456.9391.53382@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:
http://esw.w3.org/topic/its0601TechLangDev

------------------------------------------------------------------------------
  
  It is not recommended to use your own attribute to specify the language content. The xml:lang is supported by various XML technologies such as XPath, or XSL. Using a different attribute would diminish the interoperability of your documents and reduce your capability to take advantage of some XML applications.
  
- '''[[FS-''' I would propose the following addition:
- "If not the language of the content, but a natural language value as data or meta-data about something external to the document has to be specified, a different attribute than xml:lang should be used. An example is the hreflang attribute in HTML.
+ If not the language of the content, but a natural language value as data or meta-data about something external to the document has to be specified, a different attribute than xml:lang should be used. An example is the hreflang attribute in HTML.
  
  {{{
  <a xml:lang="en" href="xyz" hreflang="de">Click for German</a>
@@ -21, +20 @@

  
  For further information, see
  [http://www.w3.org/International/questions/qa-when-xmllang]"
- ''']]'''
  
  Note: The scope of the xml:lang attribute applies to both the attributes and the content of the element where it appears, therefore one cannot specify different languages for an attribute and the element content. ITS does not provide remedy for this. Instead, it is recommended to not use attribute for translatable text.
  
Received on Monday, 3 April 2006 14:00:11 UTC

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