On Mon, 24 Oct 2022 19:58:31 GMT, Naoto Sato <na...@openjdk.org> wrote:

> I think what we can do is check the original English properties values that 
> the engineers provided, and if there is no trailing spaces there, we can 
> safely remove trailing spaces in localized bundles.

Good idea! I wonder if this should be done as a unit test.  go through all the 
bundles and check leading/trailing whitespace.

in my experience, the translators also (unintentionally) change the quotes and 
other symbols, sometimes breaking the code.  I assume the JDK has been 
exhaustively tested and we have no such problems.

-------------

PR: https://git.openjdk.org/jdk/pull/10792

Reply via email to