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

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

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #6 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-02-13 19:19:22 UTC ---
I am close to satisfied. It is a great step in right direction. But:

FIRSTLY: 

A problem in your proposed text is the word "both". I feel that the requirement
to use both @lang and xml:@lang was specified in the first paragraph of section
'7.2 Language Attributes'. Therefore, to repeat in this note that _both_ has to
be used, feels unecessary - and also makes it seem as if the requirement to use
both is linked ot the meta element (instead of being a general rule) . I would
suggest the following two-step solution to these wording problems:

  1) The very first paragraph of section 7.2 currently 
        BEGINS:  "When using language attributes".
        Let it instead begin like this: "When SPECIFIYNG THE language MAPPING
OF AN ELEMENT, [then ...]"

  2) W.r.t. your new note, change the last bit, after the comma:
     FROM: "polyglot markup must use both the lang and xml:lang attributes."
     TO:  "then it is REQUIRED to specify the language mapping of the root
element."

SECONDLY: 

  Before the comma, your new note currently says: 

   "If polyglot markup uses the http-equiv attribute on the <meta> element,"

   Comments/Changes:

      1) please work/insert 'Content-Language' into that statement. 
          Otherwise the statement is meaningless.

      2) please rewrite the entire part before the comma like so:
           "Whenever the http-equiv Content-Language  <meta> element 
            specifies the language of the root element, [then it is REQUIRED
            {see proposed text above}]."

      3) After the full stop, add this:
         "The meta content-language element according to HTML5 specifices the
language of the root element whenever its @content attribute contains no more
and no less than exactly one language tag."

(NOTE: Currently HTML5 only permits no more an no less than a single language
tage inside content-language. But depending on ISSUE-88, it can be permitted
with both less and more. http://www.w3.org/html/wg/tracker/issues/88 )

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

Received on Sunday, 13 February 2011 19:19:24 UTC