Skip to content

Commit

Permalink
[e] (0) sync with BCP47 terminology
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9415

git-svn-id: http://svn.whatwg.org/webapps@5007 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent 7e4876e commit 871bd44
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
28 changes: 14 additions & 14 deletions complete.html
Expand Up @@ -186,7 +186,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 12 April 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 13 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -9063,7 +9063,7 @@ <h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <co
<p>The <dfn id=attr-lang title=attr-lang><code>lang</code></dfn> attribute (in
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
text. Its value must be a valid BCP 47 language tag, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href=#refsBCP47>[BCP47]</a></p>
Expand Down Expand Up @@ -9133,13 +9133,13 @@ <h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <co
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 code is the empty string.</p>
corresponding language tag is the empty string.</p>

<p>If the resulting value is not a recognized language code, then it
<p>If the resulting value is not a recognized language tag, then it
must be treated as an unknown language having the given language
code, distinct from all other languages. For the purposes of
tag, distinct from all other languages. For the purposes of
round-tripping or communicating with other services that expect
language codes, user agents should pass unknown language codes
language tags, user agents should pass unknown language tags
through unmodified.</p>

<p class=example>Thus, for instance, an element with <code title="">lang="xyzzy"</code> would be matched by the selector <code title="">:lang(xyzzy)</code> (e.g. in CSS), but it would not be
Expand All @@ -9148,7 +9148,7 @@ <h5 id=the-lang-and-xml:lang-attributes><span class=secno>3.2.3.3 </span>The <co
working in unison communicated about the language of the element,
the browser would tell the screen reader that the language was
"xyzzy", even if it knew it was invalid, just in case the screen
reader actually supported a language with that code after all.</p>
reader actually supported a language with that tag after all.</p>

<p>If the resulting value is the empty string, then it must be
interpreted as meaning that the language of the node is explicitly
Expand Down Expand Up @@ -12735,7 +12735,7 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>
<p>For <code><a href=#meta>meta</a></code> elements with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the
<a href=#attr-meta-http-equiv-content-language title=attr-meta-http-equiv-content-language>Content
Language state</a>, the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must have a
value consisting of a valid BCP 47 language code. <a href=#refsBCP47>[BCP47]</a></p>
value consisting of a valid BCP 47 language tag. <a href=#refsBCP47>[BCP47]</a></p>

<p class=note>This pragma is not exactly equivalent to the HTTP
<code>Content-Language</code> header, for instance it only
Expand Down Expand Up @@ -46873,7 +46873,7 @@ <h4 id=hyperlink-elements><span class=secno>4.12.1 </span>Hyperlink elements</h4
<p>The <dfn id=attr-hyperlink-hreflang title=attr-hyperlink-hreflang><code>hreflang</code></dfn>
attribute on hyperlink elements, if present, gives the language of
the linked resource. It is purely advisory. The value must be a
valid BCP 47 language code. <a href=#refsBCP47>[BCP47]</a>
valid BCP 47 language tag. <a href=#refsBCP47>[BCP47]</a>
<span class=impl>User agents must not consider this attribute
authoritative &mdash; upon fetching the resource, user agents must
use only language information associated with the resource to
Expand Down Expand Up @@ -61130,10 +61130,10 @@ <h3 id=system-state-and-capabilities><span class=secno>7.4 </span>System state a

<!-- v2: also, could expose languages:
<dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dd><p>Must return either null or a language code representing the language the browser uses in its interface.</p></dd>
<dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
<dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt> <!- - Opera, Safari, and Mozilla only - ->
<dd><p>Must return either null or a language code representing the user's preferred language.</p></dd>
<dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd>
-->

</div>
Expand Down Expand Up @@ -74350,7 +74350,7 @@ <h5 id=determining-the-character-encoding><span class=secno>12.2.2.1 </span>Dete
and thus often encodings, of the pages that the user is likely to
frequent). The following table gives suggested defaults based on
the user's locale, for compatibility with legacy content. Locales
are identified by BCP 47 language codes. <a href=#refsBCP47>[BCP47]</a></p>
are identified by BCP 47 language tags. <a href=#refsBCP47>[BCP47]</a></p>

<!-- based on mozilla 1.9.1 localizations:
http://mxr.mozilla.org/l10n-mozilla1.9.1/find?string=global%2Fintl.properties&tree=l10n-mozilla1.9.1&hint= -->
Expand Down Expand Up @@ -88090,7 +88090,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>area</a></code>;
<code title=attr-link-hreflang><a href=#attr-link-hreflang>link</a></code>
<td> Language of the linked resource
<td> Valid BCP 47 language code
<td> Valid BCP 47 language tag
<tr><th> <code title="">http-equiv</code>
<td> <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>meta</a></code>
<td> Pragma directive
Expand Down Expand Up @@ -88143,7 +88143,7 @@ <h3 class=no-num id=element-content-categories>Element content categories</h3>
<tr><th> <code title="">lang</code>
<td> <a href=#attr-lang title=attr-lang>HTML elements</a>
<td> <a href=#language>Language</a> of the element
<td> Valid BCP 47 language code or the empty string
<td> Valid BCP 47 language tag or the empty string
<tr><th> <code title="">list</code>
<td> <code title=attr-input-list><a href=#attr-input-list>input</a></code>
<td> List of autocomplete options
Expand Down
28 changes: 14 additions & 14 deletions index
Expand Up @@ -190,7 +190,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 12 April 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 13 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -8961,7 +8961,7 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
<p>The <dfn id=attr-lang title=attr-lang><code>lang</code></dfn> attribute (in
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
text. Its value must be a valid BCP 47 language tag, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href=#refsBCP47>[BCP47]</a></p>
Expand Down Expand Up @@ -9031,13 +9031,13 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
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 code is the empty string.</p>
corresponding language tag is the empty string.</p>

<p>If the resulting value is not a recognized language code, then it
<p>If the resulting value is not a recognized language tag, then it
must be treated as an unknown language having the given language
code, distinct from all other languages. For the purposes of
tag, distinct from all other languages. For the purposes of
round-tripping or communicating with other services that expect
language codes, user agents should pass unknown language codes
language tags, user agents should pass unknown language tags
through unmodified.</p>

<p class=example>Thus, for instance, an element with <code title="">lang="xyzzy"</code> would be matched by the selector <code title="">:lang(xyzzy)</code> (e.g. in CSS), but it would not be
Expand All @@ -9046,7 +9046,7 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
working in unison communicated about the language of the element,
the browser would tell the screen reader that the language was
"xyzzy", even if it knew it was invalid, just in case the screen
reader actually supported a language with that code after all.</p>
reader actually supported a language with that tag after all.</p>

<p>If the resulting value is the empty string, then it must be
interpreted as meaning that the language of the node is explicitly
Expand Down Expand Up @@ -12633,7 +12633,7 @@ people expect to have work and what is necessary.
<p>For <code><a href=#meta>meta</a></code> elements with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the
<a href=#attr-meta-http-equiv-content-language title=attr-meta-http-equiv-content-language>Content
Language state</a>, the <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute must have a
value consisting of a valid BCP 47 language code. <a href=#refsBCP47>[BCP47]</a></p>
value consisting of a valid BCP 47 language tag. <a href=#refsBCP47>[BCP47]</a></p>

<p class=note>This pragma is not exactly equivalent to the HTTP
<code>Content-Language</code> header, for instance it only
Expand Down Expand Up @@ -46774,7 +46774,7 @@ local.onconnect = function (event) {
<p>The <dfn id=attr-hyperlink-hreflang title=attr-hyperlink-hreflang><code>hreflang</code></dfn>
attribute on hyperlink elements, if present, gives the language of
the linked resource. It is purely advisory. The value must be a
valid BCP 47 language code. <a href=#refsBCP47>[BCP47]</a>
valid BCP 47 language tag. <a href=#refsBCP47>[BCP47]</a>
<span class=impl>User agents must not consider this attribute
authoritative &mdash; upon fetching the resource, user agents must
use only language information associated with the resource to
Expand Down Expand Up @@ -61051,10 +61051,10 @@ interface <dfn id=navigatorabilities>NavigatorAbilities</dfn> {

<!-- v2: also, could expose languages:
<dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dd><p>Must return either null or a language code representing the language the browser uses in its interface.</p></dd>
<dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
<dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt> <!- - Opera, Safari, and Mozilla only - ->
<dd><p>Must return either null or a language code representing the user's preferred language.</p></dd>
<dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd>
-->

</div>
Expand Down Expand Up @@ -67616,7 +67616,7 @@ interface <dfn id=messageport>MessagePort</dfn> {
and thus often encodings, of the pages that the user is likely to
frequent). The following table gives suggested defaults based on
the user's locale, for compatibility with legacy content. Locales
are identified by BCP 47 language codes. <a href=#refsBCP47>[BCP47]</a></p>
are identified by BCP 47 language tags. <a href=#refsBCP47>[BCP47]</a></p>

<!-- based on mozilla 1.9.1 localizations:
http://mxr.mozilla.org/l10n-mozilla1.9.1/find?string=global%2Fintl.properties&tree=l10n-mozilla1.9.1&hint= -->
Expand Down Expand Up @@ -81356,7 +81356,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>area</a></code>;
<code title=attr-link-hreflang><a href=#attr-link-hreflang>link</a></code>
<td> Language of the linked resource
<td> Valid BCP 47 language code
<td> Valid BCP 47 language tag
<tr><th> <code title="">http-equiv</code>
<td> <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>meta</a></code>
<td> Pragma directive
Expand Down Expand Up @@ -81409,7 +81409,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
<tr><th> <code title="">lang</code>
<td> <a href=#attr-lang title=attr-lang>HTML elements</a>
<td> <a href=#language>Language</a> of the element
<td> Valid BCP 47 language code or the empty string
<td> Valid BCP 47 language tag or the empty string
<tr><th> <code title="">list</code>
<td> <code title=attr-input-list><a href=#attr-input-list>input</a></code>
<td> List of autocomplete options
Expand Down
26 changes: 13 additions & 13 deletions source
Expand Up @@ -9063,7 +9063,7 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
<p>The <dfn title="attr-lang"><code>lang</code></dfn> attribute (in
no namespace) specifies the primary language for the element's
contents and for any of the element's attributes that contain
text. Its value must be a valid BCP 47 language code, or the empty
text. Its value must be a valid BCP 47 language tag, or the empty
string. Setting the attribute to the empty string indicates that the
primary language is unknown<!-- UA conformance requirements for this
are below -->. <a href="#refsBCP47">[BCP47]</a></p>
Expand Down Expand Up @@ -9143,13 +9143,13 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
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 code is the empty string.</p>
corresponding language tag is the empty string.</p>

<p>If the resulting value is not a recognized language code, then it
<p>If the resulting value is not a recognized language tag, then it
must be treated as an unknown language having the given language
code, distinct from all other languages. For the purposes of
tag, distinct from all other languages. For the purposes of
round-tripping or communicating with other services that expect
language codes, user agents should pass unknown language codes
language tags, user agents should pass unknown language tags
through unmodified.</p>

<p class="example">Thus, for instance, an element with <code
Expand All @@ -9160,7 +9160,7 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
working in unison communicated about the language of the element,
the browser would tell the screen reader that the language was
"xyzzy", even if it knew it was invalid, just in case the screen
reader actually supported a language with that code after all.</p>
reader actually supported a language with that tag after all.</p>

<p>If the resulting value is the empty string, then it must be
interpreted as meaning that the language of the node is explicitly
Expand Down Expand Up @@ -13284,7 +13284,7 @@ people expect to have work and what is necessary.
<span title="attr-meta-http-equiv-content-language">Content
Language state</span>, the <code
title="attr-meta-content">content</code> attribute must have a
value consisting of a valid BCP 47 language code. <a
value consisting of a valid BCP 47 language tag. <a
href="#refsBCP47">[BCP47]</a></p>

<p class="note">This pragma is not exactly equivalent to the HTTP
Expand Down Expand Up @@ -52106,7 +52106,7 @@ local.onconnect = function (event) {
title="attr-hyperlink-hreflang"><code>hreflang</code></dfn>
attribute on hyperlink elements, if present, gives the language of
the linked resource. It is purely advisory. The value must be a
valid BCP 47 language code. <a href="#refsBCP47">[BCP47]</a>
valid BCP 47 language tag. <a href="#refsBCP47">[BCP47]</a>
<span class="impl">User agents must not consider this attribute
authoritative &mdash; upon fetching the resource, user agents must
use only language information associated with the resource to
Expand Down Expand Up @@ -69026,10 +69026,10 @@ interface <dfn>NavigatorAbilities</dfn> {

<!-- v2: also, could expose languages:
<dt><dfn title="dom-navigator-browserLanguage"><code>browserLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dd><p>Must return either null or a language code representing the language the browser uses in its interface.</p></dd>
<dd><p>Must return either null or a language tag representing the language the browser uses in its interface.</p></dd>
<dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
<dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt> <!- - Opera, Safari, and Mozilla only - ->
<dd><p>Must return either null or a language code representing the user's preferred language.</p></dd>
<dd><p>Must return either null or a language tag representing the user's preferred language.</p></dd>
-->

</div>
Expand Down Expand Up @@ -84690,7 +84690,7 @@ interface <dfn>SQLTransactionSync</dfn> {
and thus often encodings, of the pages that the user is likely to
frequent). The following table gives suggested defaults based on
the user's locale, for compatibility with legacy content. Locales
are identified by BCP 47 language codes. <a
are identified by BCP 47 language tags. <a
href="#refsBCP47">[BCP47]</a></p>

<!-- based on mozilla 1.9.1 localizations:
Expand Down Expand Up @@ -100528,7 +100528,7 @@ interface <span>HTMLDocument</span> {
<code title="attr-hyperlink-hreflang">area</code>;
<code title="attr-link-hreflang">link</code>
<td> Language of the linked resource
<td> Valid BCP 47 language code
<td> Valid BCP 47 language tag
<tr>
<th> <code title="">http-equiv</code>
<td> <code title="attr-meta-http-equiv">meta</code>
Expand Down Expand Up @@ -100593,7 +100593,7 @@ interface <span>HTMLDocument</span> {
<th> <code title="">lang</code>
<td> <span title="attr-lang">HTML elements</span>
<td> <span>Language</span> of the element
<td> Valid BCP 47 language code or the empty string
<td> Valid BCP 47 language tag or the empty string
<tr>
<th> <code title="">list</code>
<td> <code title="attr-input-list">input</code>
Expand Down

0 comments on commit 871bd44

Please sign in to comment.