intl-parse-accept-language
Version:
Returns an array of `locale` strings, sorted by quality, given the string from an HTTP `Accept-Language` header.
9 lines (6 loc) • 230 B
JavaScript
Returns an array of `locale` strings, sorted by quality, given the string from an HTTP `Accept-Language` header.