Hi,
I am trying to send the REST request by setting the language to "de"
(Setting "accept-language: de" in request header). When the request arrives
to the "execute" method of "ServiceRequestHandler" class, the service
context is created and "userLogin" is added to the context. But I do not
see any code snippet that sets "locale" which causes the locale to be set
by default to "en". In my understanding, there should be a code included
just below the line that sets "userLogin"

serviceContext.put("locale", getHttpRequest().getLocale());

Please let me know if I am thinking in the right way or if there is a
different mechanism to send "locale" in the request header.
Thank you, Rishi

Reply via email to