Name
Accept-Language: language [q=qvalue]
Synopsis
Specifies the languages that the client prefers. If a client wants to
specify a preference for a particular language, it is done in the
Accept-Language
header. If a server contains the
same document in multiple languages, it will send the document in the
language of the client’s preference, when available. For
example:
Accept-language: en
Multiple languages can be listed separated by commas. The optional
qvalue
represents, on a scale of
to 1, an acceptable quality level for nonpreferred languages.
Languages are written with their two-letter abbreviations (e.g.,
en
for English, de
for German,
fr
for French, etc.).
Get HTTP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.