Accept-Language

The languages the user prefers, in order.

Explained

Examples

Example

Accept-Language: en-GB, en;q=0.9, fr;q=0.5

Watch out

It reflects browser settings, not location. Let people change the language on the page too.

Defined in RFC 9110 §12.5.4.

Other common headers