RFR: 8016127 - NLS: logging.properties translatability recommendation
daniel.fuchs at oracle.com
Mon Sep 2 13:29:11 UTC 2013
Please find below a fix for:
8016127: NLS: logging.properties translatability recommendation
This fix corrects localized Level names in JDK 8.
It updates the logging.properties resource bundles to follow
internationalization guidelines: all caps words are usually considered
as constant names that must not be translated - and the base
resource bundle logging.properties - will no longer contain
The changeset contains a test that will verify that
the logging.properties bundles are correct - which should
hopefully catch translation issues early int the process and avoid
last minutes fire-drills like we had in the past.
To make the test pass, I had to replace the untranslated bundles
from JDK 8 by their translated version from JDK 7u-dev.
The fix also makes sure that the Level names will still be printed
in all caps, even if their translation isn't.
As per Mandy's request I also took this opportunity to fix the
localized name caching mechanism which didn't take into account
possible changes of the default locale returned by
More information about the core-libs-dev