Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11328 Add JAX-RS capabilities (Jersey)
  3. OFBIZ-12598

Rest-API the request should handle locale specific request

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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())

      Attachments

        Activity

          People

            mbrohl Michael Brohl
            rishi.7rw Rishi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: