Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39034

/i18n/resourceBundle should be conform to the w3c standard about locale negotiation

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://www.w3.org/International/questions/qa-lang-priorities talks about the negotiation between browser and server:

      The basic rule here is that if your language preference list contains a language tag containing a hyphen, such as fr-CH (French as spoken in Switzerland), you should consider adding an additional language tag without the hyphen, ie. fr (French) in this case, immediately after.

      This is because if a server follows the HTTP/1.1 specification literally, it is unable to match fr-CH against a document labelled on the server as fr.

      In our case the server side is awaiting for a second (separate) parameter country however to allow direct interaction we should allow to detect region/country locale preferences from the language parameter.

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Adding the component blueocean-plugin so this shows up on our agile board.

            Show
            jamesdumay James Dumay added a comment - Adding the component blueocean-plugin so this shows up on our agile board.
            Hide
            tfennelly Tom FENNELLY added a comment -

            Already covered by JENKINS-39891

            Show
            tfennelly Tom FENNELLY added a comment - Already covered by JENKINS-39891
            Hide
            tscherler Thorsten Scherler added a comment -

            James Dumay that ticket had been only for jenkins core. blueocean has nothing to do with it.

            Show
            tscherler Thorsten Scherler added a comment - James Dumay that ticket had been only for jenkins core. blueocean has nothing to do with it.
            Hide
            jamesdumay James Dumay added a comment -

            Thorsten Scherler sure but our team wrote it. We should be good citizens!

            Show
            jamesdumay James Dumay added a comment - Thorsten Scherler sure but our team wrote it. We should be good citizens!
            Hide
            tscherler Thorsten Scherler added a comment - - edited

            not sure if I understand. The code only is for core. If we want it in BO then we should not reuse an "old" ticket which is already closed, that is my point.

            More because the test cases in core point to this ticket.

            Show
            tscherler Thorsten Scherler added a comment - - edited not sure if I understand. The code only is for core. If we want it in BO then we should not reuse an "old" ticket which is already closed, that is my point. More because the test cases in core point to this ticket.

              People

              • Assignee:
                tfennelly Tom FENNELLY
                Reporter:
                tscherler Thorsten Scherler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: