Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4195

Provide english texts in 2 files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.15.1
    • Fix Version/s: 2.3.16
    • Component/s: Build Management, Other
    • Labels:
    • Environment:

      IBM WebSphere with IBM JVM

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              cn42 Christoph Nenning
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: