As Mittineague said, the HTTP-request may contain a header "Accept-Language", which specifies a list of languages, in order of preference.
Just to clarify: the languages do not necessarily occur in the preferred order. Rather, each language may have an associated quality value ('q' value) between 0.000 and 1.000. An omitted q value is the same as q=1.000.
A sample header can look like this,
Code:
Accept-Language: en-GB, sv;q=0.7, en;q=0.9
The preferred order is,
en-GB (q=1.0)
en (q=0.9)
sv (q=0.7)
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.