Request negotiation · Request header
Accept-Language
Preferred human languages for the response.
What is Accept-Language?
Sent by browsers to indicate the user's preferred languages, ordered by q-value. Servers use it to pick a localized version.
Typical usage
Read by servers that serve localized content.
Examples
Accept-Language: en-US, en;q=0.9, fr;q=0.8Specification
RFC 9110 §12.5.4
Related headers
Vary
Which request headers cause different cached variants of the response.
Accept
Which media types the client can process.
Accept-Encoding
Which content encodings (compressions) the client accepts.
User-Agent
The client software identifying itself.
Host
The requested host name and port.
Referer
The URL of the previous page that led to this request.