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

Provide english texts in 2 files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.15.1
    • 2.3.16
    • Build Management, Other
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: