Uploaded image for project: 'MyFaces Commons'
  1. MyFaces Commons
  2. MFCOMMONS-31

Support i18nized resources like ResourceBundle does

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.2-SNAPSHOT
    • None
    • None

    Description

      Currently we support something like this for i18nized resources:

      mylib/img/logo.gif
      mylib/img/de/logo.gif
      mylib/img/en_US/logo.gif

      It would make sence to change the i18n via folders to the mechanism ResourceBundle uses, thus something like this:

      mylib/img/logo.gif
      mylib/img/logo_de.gif
      mylib/img/logo_en_US.gif

      IMO this is a lot clearer to the developer, since everyone using ResourceBundles knows how this works. The current solution, which uses folders, may confuse some developers, because you don't know exactly where to put the i18nized folder - before or after the library name (as shown above, after is the right choice).

      Attachments

        Activity

          People

            jakobkorherr Jakob Korherr
            jakobkorherr Jakob Korherr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: