<i18n dev> Integrated: 8287868: Localized names update in COMPAT locale provider

Naoto Sato naoto at openjdk.org
Wed Jun 22 15:50:54 UTC 2022


On Fri, 10 Jun 2022 20:58:03 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> As the name suggests, `COMPAT` locale provider keeps compatibility with JDK8's locale data (before CLDR).  This is useful for legacy applications, but some of its data got obsolete for later locale data updates, such as the country name change for `Eswatini` (formerly known as `Swaziland`). This PR is to fix those names up-to-date from CLDR. More specifically, changes are made for `language`, `country`, `script` display names in `Locale` class, and `Currency` display names. Localized names used for `TimeZone`s and `Currency` symbols (such as `$`) are not modified so that `format`/`parse` should work as with JDK8.

This pull request has now been integrated.

Changeset: d4de4757
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d4de4757471d9f21c2a059f91504ecbc4781566e
Stats:     11617 lines in 65 files changed: 17 ins; 2367 del; 9233 mod

8287868: Localized names update in COMPAT locale provider

Reviewed-by: iris, joehw

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

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


More information about the i18n-dev mailing list