Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8031456

DRS: Locale attribute for message element does not work with just language code

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b05
    • Verification:
      Verified

      Backports

        Description

        The following DRS rule shows the default (English) message even when the system's default language is French.

          <rule>
            <id /><!-- Because this is both blank and shown last, it will be the default policy. -->
            <action permission="block">
              <message>Blocked by corporate. Contact myemail@mycompany.com if you need to run this app.</message>
              <message locale="fr">Bloqué par l'entreprise. Contacter myemail@mycompany.com si vous avez besoin d'exécuter cette application.</message>
            </action>
          </rule>

        To work, the locale attribute requires both the language code and country code, i.e. "fr_FR"

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                herrick Andy Herrick
                Reporter:
                jgordon Joni Gordon (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: