Compare Revisions

Content-Language

Change Revisions

Revision 1095937:

Revision 1095937 by fscholz on

Revision 1098263:

Revision 1098263 by Jeremie on

Title:
Content-Language
Content-Language
Slug:
Web/HTTP/Headers/Content-Language
Web/HTTP/Headers/Content-Language
Tags:
"HTTP" "Headers" "Reference" "Headers"
"HTTP" "Headers" "Reference" "Headers"
Content:

Revision 1095937
Revision 1098263
n11      The <strong><code>Content-Language</code></strong> entity hn11      The <strong><code>Content-Language</code></strong> {{Glossa
>eader is used to describe the language(s) intended for the audien>ry("entity header")}} is used to describe the language(s) intende
>ce, so that it allows a user to differentiate according to the us>d for the audience, so that it allows a user to differentiate acc
>ers' own preferred language.>ording to the users' own preferred language.
n55        Multiple language tags are separated by comma. Each langun55        Multiple language tags are separated by comma. Each langu
>age tag is a sequence of one or more case-insensitive subtags, ea>age tag is a sequence of one or more case-insensitive subtags, ea
>ch separated by a hyphen character ("-", %x2D). In most cases, a >ch separated by a hyphen character ("<code>-</code>", <code>%x2D<
>language tag consists of a primary language subtag that identifie>/code>). In most cases, a language tag consists of a primary lang
>s a broad family of related languages (e.g., "en" = English), whi>uage subtag that identifies a broad family of related languages (
>ch is optionally followed by a series of subtags that refine or n>e.g., "<code>en</code>" = English), which is optionally followed 
>arrow that language's range (e.g., "en-CA" = the variety of Engli>by a series of subtags that refine or narrow that language's rang
>sh as communicated in Canada).>e (e.g., "<code>en-CA</code>" = the variety of English as communi
 >cated in Canada).
nn58    <div class="note">
59      <p>
60        <strong>Note:</strong> Language tags are formaly defined 
 >in <a href="https://tools.ietf.org/html/rfc5646">RFC 5646</a>, wh
 >ich relay on the <a href="https://en.wikipedia.org/wiki/ISO_639">
 >ISO 639</a> standard (quite often the <a href="https://en.wikiped
 >ia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1 code list</a>) for
 > <a href="https://en.wikipedia.org/wiki/Language_code">language c
 >odes</a> to be used.
61      </p>
62    </div>
tt79&lt;!-- /!\ This is bad pratice --&gt;

Back to History