Changeset 613 for draft-ietf-httpbis/latest/p3-payload.xml
- Timestamp:
- 19/07/09 13:10:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p3-payload.xml
r609 r613 617 617 <section title="Language Tags" anchor="language.tags"> 618 618 <x:anchor-alias value="language-tag"/> 619 <x:anchor-alias value="primary-tag"/> 620 <x:anchor-alias value="subtag"/> 621 <t> 622 A language tag identifies a natural language spoken, written, or 623 otherwise conveyed by human beings for communication of information 624 to other human beings. Computer languages are explicitly excluded. 625 HTTP uses language tags within the Accept-Language and Content-Language 626 fields. 627 </t> 628 <t> 629 The syntax and registry of HTTP language tags is the same as that 630 defined by <xref target="RFC1766"/>. In summary, a language tag is composed of 1 631 or more parts: A primary language tag and a possibly empty series of 632 subtags: 633 </t> 634 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="language-tag"/><iref primary="true" item="Grammar" subitem="primary-tag"/><iref primary="true" item="Grammar" subitem="subtag"/> 635 <x:ref>language-tag</x:ref> = <x:ref>primary-tag</x:ref> *( "-" <x:ref>subtag</x:ref> ) 636 <x:ref>primary-tag</x:ref> = 1*8<x:ref>ALPHA</x:ref> 637 <x:ref>subtag</x:ref> = 1*8<x:ref>ALPHA</x:ref> 619 <t> 620 A language tag, as defined in <xref target="RFC4646bis"/>, identifies a 621 natural language spoken, written, or otherwise conveyed by human beings for 622 communication of information to other human beings. Computer languages are 623 explicitly excluded. HTTP uses language tags within the Accept-Language and 624 Content-Language fields. 625 </t> 626 <t> 627 In summary, a language tag is composed of one or more parts: A primary 628 language subtag followed by a possibly empty series of subtags: 629 </t> 630 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="language-tag"/> 631 <x:ref>language-tag</x:ref> = <Language-Tag, defined in <xref target="RFC4646bis" x:sec="2.1"/>> 638 632 </artwork></figure> 639 633 <t> 640 634 White space is not allowed within the tag and all tags are case-insensitive. 641 The name space of language tags is administered by the642 IANA. Example tags include:643 </t> 644 <figure> <artwork type="example">645 en, en-US, en-cockney, i-cherokee, x-pig-latin646 < /artwork></figure>647 <t> 648 where any two-letter primary-tag is an ISO-639 language abbreviation 649 and any two-letter initial subtag is an ISO-3166 country code. (The 650 last three tags above are not registered tags; all but the last are 651 examples of tags which could be registered in future.)635 The name space of language subtags is administered by the IANA (see 636 <eref target="http://www.iana.org/assignments/language-subtag-registry"/>). 637 </t> 638 <figure> 639 <preamble>Example tags include:</preamble> 640 <artwork type="example"> 641 en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN 642 </artwork> 643 </figure> 644 <t> 645 See <xref target="RFC4646bis"/> for further information. 652 646 </t> 653 647 </section> … … 1942 1936 </reference> 1943 1937 1944 <reference anchor="RFC1766">1945 <front>1946 <title abbrev="Language Tag">Tags for the Identification of Languages</title>1947 <author initials="H." surname="Alvestrand" fullname="Harald Tveit Alvestrand">1948 <organization>UNINETT</organization>1949 <address><email>Harald.T.Alvestrand@uninett.no</email></address>1950 </author>1951 <date month="March" year="1995"/>1952 </front>1953 <seriesInfo name="RFC" value="1766"/>1954 </reference>1955 1956 1938 <reference anchor="RFC1864"> 1957 1939 <front> … … 2138 2120 <seriesInfo name="STD" value="68"/> 2139 2121 <seriesInfo name="RFC" value="5234"/> 2122 </reference> 2123 2124 <reference anchor='RFC4646bis'> 2125 <front> 2126 <title>Tags for Identifying Languages</title> 2127 <author initials='A.' surname='Phillips' fullname='Addison Phillips' role='editor'> 2128 <organization>Lab126</organization> 2129 <address><email>addison@inter-locale.com</email></address> 2130 </author> 2131 <author initials='M.' surname='Davis' fullname='Mark Davis' role='editor'> 2132 <organization>Google</organization> 2133 <address><email>mark.davis@google.com</email></address> 2134 </author> 2135 <date month='June' day='11' year='2009' /> 2136 </front> 2137 <seriesInfo name='Internet-Draft' value='draft-ietf-ltru-4646bis-23' /> 2140 2138 </reference> 2141 2139 … … 2736 2734 2737 2735 <x:ref>language-range</x:ref> = <language-range, defined in [RFC4647], Section 2.1> 2738 <x:ref>language-tag</x:ref> = primary-tag *( "-" subtag )2736 <x:ref>language-tag</x:ref> = <Language-Tag, defined in [RFC4646bis], Section 2.1> 2739 2737 2740 2738 <x:ref>media-range</x:ref> = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS … … 2745 2743 <x:ref>parameter</x:ref> = attribute "=" value 2746 2744 <x:ref>partial-URI</x:ref> = <partial-URI, defined in [Part1], Section 2.1> 2747 <x:ref>primary-tag</x:ref> = 1*8ALPHA2748 2745 2749 2746 <x:ref>quoted-string</x:ref> = <quoted-string, defined in [Part1], Section 1.2.2> 2750 2747 <x:ref>qvalue</x:ref> = <qvalue, defined in [Part1], Section 3.5> 2751 2748 2752 <x:ref>subtag</x:ref> = 1*8ALPHA2753 2749 <x:ref>subtype</x:ref> = token 2754 2750 … … 2757 2753 2758 2754 <x:ref>value</x:ref> = token / quoted-string 2759 2760 2761 2755 </artwork> 2762 2756 </figure> … … 2979 2973 <section title="Since draft-ietf-httpbis-p3-payload-07" anchor="changes.since.07"> 2980 2974 <t> 2981 None. 2975 Closed issues: 2976 <list style="symbols"> 2977 <t> 2978 <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/13"/>: 2979 "Updated reference for language tags" 2980 </t> 2981 </list> 2982 2982 </t> 2983 2983 </section>
Note: See TracChangeset
for help on using the changeset viewer.