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

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 19 Mar 2011 14:29:19 +0000
To: public-i18n-core@w3.org
Message-Id: <E1Q0x9b-0006ez-S1@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10152

--- Comment #22 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-19 14:29:19 UTC ---
(In reply to comment #21)
> (In reply to comment #20)

The HTMLwg just decided that http-equiv="Content-Language" should be illegal.

http://www.w3.org/mid/4D84B9B4.3040809@intertwingly.net

As a result, here is an updated proposal (I only added this string: "(which is
non-conforming HTML5)":


]]
    Polyglot markup avoids that the language of the root element is set by
HTML5's fallback language mechanism as this mechanism is not required to work
in XML.

    [NOTE:] HTML5's fallback language mechanism activates whenever the root
element is lacking language attributes. But for the mechanism to actually set a
fallback language, it has to locate an http-equiv="Content-Language" meta
element (which is non-conforming HTML5) or a HTTP Content-Language: header 
(anyone of them, but meta element is considered first) whose content value is
no more and no less than exactly a one language tag, see the <a
href="http://www.w3.org/TR/html5/elements#language">language determination
rules</a> of [HTML5].
[[

-- 
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 Saturday, 19 March 2011 14:29:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 19 March 2011 14:29:23 GMT