Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2419

Better language negotiation

    XMLWordPrintable

Details

    • Unit

    Description

      Improve the automatic language selection from the Accept-Language header:

      • don't parse the Accept-Language header, but use the ServletRequest#getLocales() method that does that
      • take into consideration preference quantifier
      • ignore invalid values
      • ability to restrict to one of the configured languages only

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: