playframework/play — pull request #509 by nemecec (2012-05-10 12:40:08+00:00)
Title: use realistic values for accept-language header

Fix for "Accept-Language" header value parsing (when country is included). Currently Play assumes that "Accept-Language" header values have the same format as Java locale (e.g. "en_GB") while the real format uses a dash instead of an underscore (e.g. "en-GB").