Browser language in Playframework

How do I get the locale of a browser making a request using the Play Framework? I am looking for something like HttpServletRequest.getLocale ().

I especially need to get the time zone of the browser making the request.

Appreciate any help in this regard.

+5
source share
1 answer

Check out play.i18n.Lang.getLocale()

+2
source

All Articles