Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2036

Localized filenames not found if locale contains variant

    XMLWordPrintableJSON

    Details

      Description

      The generated filenames by the "LocalizedNameGenerator" class is incorrect for LV and V cases.

      For instance, for "foo.properties" and locale "en_US_WIN", the generated names are "foo_en_US_WIN.properties", "foo_en_US.properties", "foo__WIN.properties", "foo_en.properties" and "foo.properties".
      "foo_WIN.properties" should be "foo_enWIN.properties" and it misses "foo__WIN.properties"

        Attachments

        1. LocalizedNameGeneratorSpec.patch
          2 kB
          Nourredine K.
        2. LocalizedNameGenerator.patch
          2 kB
          Nourredine K.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nourredine Nourredine K.
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: