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

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Minor
    • blueocean-plugin, core
    • None

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: