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

Support i18nized resources like ResourceBundle does

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jakobkorherr Jakob Korherr
            jakobkorherr Jakob Korherr

            Dates

              Created:
              Updated:

              Slack

                Issue deployment