You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rishi (Jira)" <ji...@apache.org> on 2022/04/11 08:48:00 UTC

[jira] [Created] (OFBIZ-12598) Rest-API the request should handle locale specific request

Rishi created OFBIZ-12598:
-----------------------------

             Summary: Rest-API the request should handle locale specific request
                 Key: OFBIZ-12598
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12598
             Project: OFBiz
          Issue Type: Sub-task
            Reporter: Rishi


Every REST-API request sets the default locale ("en") irrespective of the locale sent in the request header (Setting "accept-language" in request header).  The "execute" method of "ServiceRequestHandler" needs to set the locale (serviceContext.put("locale", getHttpRequest().getLocale());)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)