You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/20 11:57:34 UTC

[jira] Updated: (STR-1340) Loading language files does not use Resource Bundle

     [ https://issues.apache.org/struts/browse/STR-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-1340:
-------------------------------

    Fix Version/s: Future
         Assignee:     (was: Struts Developers)

> Loading language files does not use Resource Bundle
> ---------------------------------------------------
>
>                 Key: STR-1340
>                 URL: https://issues.apache.org/struts/browse/STR-1340
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1 RC1
>         Environment: Operating System: All
> Platform: All
>            Reporter: Michael Kerr
>            Priority: Minor
>             Fix For: Future
>
>
> PropertyMessageResources.java does not use ResourceBundle.getBundle to retrieve
> language properties files.
> Currently properties are loaded using ClassLoader.getResourceAsStream by
> constructing the path to the properties file based on the fully qualified class
> name and appending ".properties".
> ResourceBundle can use a class or a properties file.  This allows much better
> flexibility.  A class can load the language file from any resource ie database.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.