Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5083

Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

    XMLWordPrintableJSON

Details

    Description

      This code replaces the possible locale from parameters by default locale.

      // add the locale to the context
      context.put("locale", Locale.getDefault());

      The solution is simple:
      firstly check, if we have the locale as the parameter, if no, use the default locale.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            sbiletnikov Sergei Biletnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: