I want to use i18n in my Play-Application (Play 2.1, Scala). The chosen language is stored in the PLAY_LANG-Cookie
, but unfortunately this cookie is httpOnly
. That means I can't read its value in my JavaScript files.
I tried changing the httpOnly-Value
in the application.conf
, but it didn't work.
application.session.httpOnly=false
I haven't found anything on this yet, so I'd really appreciate some help!