You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/09/10 09:25:52 UTC

[jira] [Resolved] (WW-4195) Provide english texts in 2 files

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

Lukasz Lenart resolved WW-4195.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

Done, thanks for reporting!
                
> 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
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: maven
>             Fix For: 2.3.16
>
>
> 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