[ESW Wiki] Update of "its0601TechLangAuth" by YvesSavourel

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