I have to check the browser language based on the language i am performing my business logic.
My portlet doProcessAction(ActionRequest actionRequest, ActionResponse actionResponse)
accepts request and response.
I checked actionRequest.getLocale()
which return every time en_IN
as a language even though my browser language selected as hi_IN
(which is hindi).
Any input from any one is highly appreciated.