[Bug 10152] [polyglot] i18n comment 5 : Mention lang and xml:lang

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10152

--- Comment #14 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-09 17:41:01 UTC ---
(In reply to comment #12)

> If you use language attributes in the html element, the meta element has no
> role to play in defining the default language of a polyglot document.

Right. But we also have to consider that not every polyglot document will
declare a language. And if a document without a language declaration
nevertheless uses a http-equiv=content-language declaration, then what? 

> This doesn't disallow the use of the meta element (eg. when used as metadata),
> but it makes irrelevant the mechanism associated with it for defining the
> default language of the document.

The condition which permits that one can use the meta element for meta purposes
is that there is a lang/xml:lang declaration.

COMPROMISE PROPOSAL: 

Perhaps we should, as you say, remove the note. And instead have another
*section* which explains when and how to use <meta
http-equiv="content-language" content="*"/>?

The new note could - as HTML5 currently stands - say that <meta
http-equiv="content-language" content="*"/> can be used, provided that the
document has a language declaration in the HTML element.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 9 March 2011 17:41:04 UTC