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

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

    XMLWordPrintable

Details

    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

            jamesdumay James Dumay added a comment -

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

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

            Already covered by JENKINS-39891

            tfennelly Tom FENNELLY added a comment - Already covered by JENKINS-39891

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

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

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

            jamesdumay James Dumay added a comment - tscherler sure but our team wrote it. We should be good citizens!
            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.

            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

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

              Dates

                Created:
                Updated:
                Resolved: