Parse the accept-language header from a HTTP request
Returns an array of locale
strings, sorted by quality, given the string from an HTTP Accept-Language
header.
Resolve the preferred locale based on the value of an Accept-Language
HTTP header.