Is it possible to access Play's config values in Javascript? Specifically knowing the current lang that is selected? (v2.2.3)
EDIT:
More specifically I want to localize the components that I have on the client side, and I need to know the lang that play has used to render the page in the javascript file.
On the first request from a new user, Play will guess the default language to use. It does so by parsing the HTTP Accept-language header. It will then save the chosen language in a PLAY_LANG cookie. So the next request will use the same language.
For some reason I don't see this cookie on the client side.
My question is a) Is there any other way to know the Play's lang on the client side ? b) why is this cookie not working ?