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

[ESW Wiki] Update of "its0601TechLangAuth" by YvesSavourel

From: <w3t-archive+esw-wiki@w3.org>
Date: Thu, 19 Jan 2006 12:57:24 -0000
To: w3t-archive+esw-wiki@w3.org
Message-ID: <20060119125724.9527.82311@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/its0601TechLangAuth


------------------------------------------------------------------------------
  
  = Specify the language of the content  =
  
+ Use the xml:lang attribute to specify in what language is the content of an element.
+ 
+ Having information about what is the language of a content is very important in many situation. Some of them are:
+ 
+  * selection of a proper font (e.g. for traditional or simplified Chinese)
+ 
+  * processing of the text for wrapping and hyphenation
+ 
+  * spell-checking the text
+ 
+  * selecting proper formatting properties for data such as date, numbers, etc.
+ 
+  * selecting proper automated text such as quotation marks or other punctuation signs
+ 
+ The normal way of specifying the language of a document is to declare it in the root element and, if needed, to override that initial declaration for parts of the document in a different language.
+ 
+ For example:
+ 
+ {{{<document xml:lang="en">
+  <para>The motto of Qu├ębec is the short phrase:
+ <q xml:lang="fr-ca">Je me souviens</q>. It is chiseled
+ on the front of the Parliament Building.</para>
+ </document>}}}
+ 
Received on Thursday, 19 January 2006 17:37:41 UTC

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