Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1868

i18n package resource resolving depends too much on available locale

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4, 1.4-M3
    • Fix Version/s: 1.3.6, 1.4-RC2
    • Component/s: wicket
    • Labels:
      None

      Description

      Instead of just depending on the session's locale, our i18n resolving algorithm should look at the form of the file names as well. For instance, if we get a request for /web/resources/foo.Bar/test_en_US.css, it should recognize that test is the base form, and try en and en_US on top of that, regardless of the locale that is was set in the session.

        Attachments

        1. test.txt
          43 kB
          Igor Vaynberg

          Issue Links

            Activity

              People

              • Assignee:
                ehillenius Eelco Hillenius
                Reporter:
                ehillenius Eelco Hillenius
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: