Bug 16979 - i18n-ISSUE-119: provide example of language detection fallback
i18n-ISSUE-119: provide example of language detection fallback
Status: NEW
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec
unspecified
PC Windows NT
: P2 normal
: ---
Assigned To: Robin Berjon
HTML WG Bugzilla archive list
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-07 18:08 UTC by Addison Phillips
Modified: 2012-09-14 10:55 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Addison Phillips 2012-05-07 18:08:51 UTC
3.2.3.3 The lang and xml:lang attributes
http://www.w3.org/TR/html5/elements.html#the-lang-and-xml:lang-attributes

For this much discussed paragraph:

--
If none of the node's ancestors, including the root element, have either attribute set, but there is a pragma-set default language set, then that is the language of the node. If there is no pragma-set default language set, then language information from a higher-level protocol (such as HTTP), if any, must be used as the final fallback language instead. In the absence of any such language information, and in cases where the higher-level protocol reports multiple languages, the language of the node is unknown, and the corresponding language tag is the empty string.
--

Wouldn't an example be useful? I can imagine implementers not following what the heck we're talking about.
Comment 1 Ian 'Hixie' Hickson 2012-05-10 17:55:07 UTC
Any suggestions of a realistic example we could add here?
Comment 2 contributor 2012-07-18 07:08:36 UTC
This bug was cloned to create bug 17865 as part of operation convergence.