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

NLS: logging.properties translatability recommendation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u60
    • 7u60, 8
    • core-libs

        This is a follow up to JDK-7025302. Even though we added comments to ask WPTG to translate the ALL CAPS words, they still come back untranslated. Our QA team reported bugs to WPTG, but they just said they don't translate ALL CAPS words, even if the comment asked to translate them.

        Deployment team has a workaround and I am sharing it here, hoping you can find the solution doable for logging.properties. Thanks!

        Deployment.java:
        { "security.dialog.notverified.subject", "Unknown" },

        TrustDeciderDialog.java:
                // Show dialog
                if (Trace.isAutomationEnabled() == false) {

                    if (rootCANotValid) {
                        // note - security team wanted uper case "UNKNOWN"
                        // here but all caps stings are not translated, so
                        // the string is lowercase and translated and we
                        // display it in upper case.
                        subjectName = getMessage(
                            "security.dialog.notverified.subject").toUpperCase();
                    }

        Our next jdk8 translation drop date is 8/22 (it's also message freeze date). I would be much appreciated if you could help to look into this by that time.

              dfuchs Daniel Fuchs
              mfang Michael Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: