Support i18nized resources like ResourceBundle does
---------------------------------------------------

                 Key: MFCOMMONS-31
                 URL: https://issues.apache.org/jira/browse/MFCOMMONS-31
             Project: MyFaces Commons
          Issue Type: Improvement
          Components: myfaces-commons-resourcehandler
    Affects Versions: 1.0.2-SNAPSHOT
            Reporter: Jakob Korherr
            Assignee: Jakob Korherr


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).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to