This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17865 - i18n-ISSUE-119: provide example of language detection fallback
Summary: i18n-ISSUE-119: provide example of language detection fallback
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:08 UTC by contributor
Modified: 2012-12-30 00:39 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:08:33 UTC
This was was cloned from bug 16979 as part of operation convergence.
Originally filed: 2012-05-07 18:08:00 +0000
Original reporter: Addison Phillips <addison@lab126.com>

================================================================================
 #0   Addison Phillips                                2012-05-07 18:08:51 +0000 
--------------------------------------------------------------------------------
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.
================================================================================
 #1   Ian 'Hixie' Hickson                             2012-05-10 17:55:07 +0000 
--------------------------------------------------------------------------------
Any suggestions of a realistic example we could add here?
================================================================================
Comment 1 Ian 'Hixie' Hickson 2012-09-28 18:06:52 UTC
Addison: Could you elaborate on what kind of example you think would help here? I don't really understand. There's a lot going on in that paragraph, but none of it seems especially hard to follow.