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

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

XMLWordPrintable

    • b05
    • Verified

        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"

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

                Created:
                Updated:
                Resolved: