RFR: 8252: JMC localization does not work as expected for Chinese locale
Marcus Hirt
hirt at openjdk.org
Thu Sep 12 17:57:09 UTC 2024
On Wed, 11 Sep 2024 15:56:33 GMT, Virag Purnam <vpurnam at openjdk.org> wrote:
> JMC localization was not working fine for Chinese locale.
> **Issue:**
> <img width="960" alt="Issue" src="https://github.com/user-attachments/assets/efdaaae6-11c8-4ab8-aed6-e6b055051e86">
>
> **Fix:**
> We need to change the name of all properties file from ***_zh_CN.properties** to ***_zh.properties**. WIth this change JMC works for Chinese locale.
>
> <img width="956" alt="IssueResolved" src="https://github.com/user-attachments/assets/b92e6587-ef39-4e3a-876a-49d4f61f1dd6">
Hm. Should still work, but it kinda makes sense to make make it TW / CN independent no matter, so looks good.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/587#issuecomment-2346906832
More information about the jmc-dev
mailing list