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 
Received on Saturday, 15 April 2006 19:34:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:13 UTC