It seems there is something wrong with the locale lookup behavior.
Expected Behavior
- application.conf is like below
play.i18n.langs = [ "ja", "ja-JP", "en", "en-US" ]
-
access with Accept-Language: en-GB
-
en
is chosen for rendering
Actual Behavior
- default lang
ja
is chosen
This Actual Behavior does not satisfy RFC 4647 section 3.4.
https://www.ietf.org/rfc/rfc4647.txt
I know how to fix it and I want to create a pull request.
Toward which branch should I create a pull request?
wsargent
(Will Sargent)
2
You should create pull requests against master
, and request a backport.
The preferred language is specified through Langs.preferred
:
Thank you very much. I will do that