struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Nenning (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4195) Provide english texts in 2 files
Date Tue, 10 Sep 2013 07:17:51 GMT
Christoph Nenning created WW-4195:
-------------------------------------

             Summary: Provide english texts in 2 files
                 Key: WW-4195
                 URL: https://issues.apache.org/jira/browse/WW-4195
             Project: Struts 2
          Issue Type: Improvement
          Components: Build Management, Other
    Affects Versions: 2.3.15.1
         Environment: IBM WebSphere with IBM JVM
            Reporter: Christoph Nenning
            Priority: Minor


In the IBM JVM text key resolving happens in this order:
- bundle_<locale>.properties
- bundle_<SystemProperty user.language>.properties
- bundle.properties

English framework texts are provided in the file struts-messages.properties only. When an
application developer has set user.language to a value for which framework texts are present
(e.g. de), he does not get the requested english text although it is present.


As workaround I propose to provide english texts in 2 files:
- struts-messages.properties
- struts-messages_en.properties

Maybe the file can be copied during builds?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message