Open kosivantsov opened 4 years ago
This seems a localization problem of Java.
Locale first_locale = new Locale("za", "");
System.out.print(first_locale.getDisplayName());
The result is 藏文 not 壮文.
My jre version is 1.8.0_192
The related line of code: https://github.com/omegat-org/omegat/blob/b29929356d0080d0023c213130b271b246cb5a15/src/org/omegat/util/Language.java#L115
I think it is better to translate the display name by ourselves to avoid this upstream problem of java.
I don't reproduce a problem.
Version: OmegaT-5.8.0_0_f1953048d Platform: Linux 5.15.0-58-generic Java: 11.0.17 amd64 Memory: 596MiB total / 513MiB free / 7832MiB max
I can reproduce it on java 1.8.0_312. We, OmegaT team moves to minimum Java version to 11 in next OmegaT 6.0. Java 11 has fixed the bug.
Reported by email:
Hello, I found that the latest stable version of OmegaT v4.3.2 has another error in the Chinese translation of the language code description, and the English version is correct.
When selecting a language for a new project, ZA-Zhuang was translated into "藏文". It should be translated into "壮文" or "壮族文".