JDK-7174974 : NLS: ALL CAPS words are not tranlslated in java logging
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Affected Version: 7u6,7u40
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2012-06-07
  • Updated: 2013-09-12
  • Resolved: 2013-09-12
Related Reports
Duplicate :  
Relates :  
Description
This problem does not happen in promotion build. It's only in the internal build for message drop1 in 7u6.

If it's not fixed in message drop, it will become a regression.

All the CAPS words are not translated in Java logging. This happens in all the locales.

some logs:
http://bej301328.cn.oracle.com/gatejava/test/jdk1/results/7u6/b00/jdk-x86-offline/win7-zh_CN/t170283-logging.txt
http://bej301328.cn.oracle.com/gatejava/test/jdk1/results/7u6/b00/jdk-x86-offline/win7-de/t170283-logging.txt

Comments
EVALUATION This issue came up before and was resolved before: 7021691 3/3 Most log level words are not translated in java logging 7025302 3/3 NLS: logging.properties translatability guideline violation Why was yet another bug opened?
08-06-2012

EVALUATION The root cause is because the strings were ALL CAPS in English resource file jdk/src/share/classes/sun/util/logging/resources/logging.properties Could the English strings be replaced with just the first character capitalized? This is Oracle coding standard.
08-06-2012