W3C home > Mailing lists > Public > www-html@w3.org > April 2006

XHTML: Suggestion to add a attribute for multi language documents

From: Matthias Mauch <matthias.mauch@aadmm.de>
Date: Sat, 15 Apr 2006 21:37:18 +0200
To: www-html@w3.org
Message-Id: <1145129838.7452.12.camel@aragorn.local>

If an XHTML document have following language attribute 

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

it's possible that this document uses english language. But if the
content uses english and german language there ist no language
attribute for multi language. At present the only way to do this
is to define in the DocType the first language

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

and switch in the content with 

<span lang="de" xml:lang="den"> 

to the german part. This should works with screenreaders. Is it 
possible the add an attribute who defines a document as multi 
language?
Received on Saturday, 15 April 2006 19:34:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:06 GMT