<i18n dev> RFR: 8307547: Support variant collations [v4]

Steven Loomis srl at openjdk.org
Fri May 12 16:43:56 UTC 2023

On Fri, 12 May 2023 16:32:57 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> > I'm just wondering where a developer might go to get a definitive list, i.e. aside from this API note, how would they know that "-trad" or "-traditional" can be used to configure the ordering. Locale.forLanguageTag supports more than BCP 47 language tag strings so is this considered a private use language tag.
> I think those should go into Oracle JDK's `Supported Locales` document. Created a task to include them (https://bugs.openjdk.org/browse/JDK-8308018)

`-u-co` is defined [here](https://www.unicode.org/reports/tr35/#UnicodeCollationIdentifier) (UTS#35) and the keys are in the datafile [here (link to `main` branch!)](https://github.com/unicode-org/cldr/blob/main/common/bcp47/collation.xml) - note the `since=` attribute, these are very stable.


PR Comment: https://git.openjdk.org/jdk/pull/13917#issuecomment-1546013166

More information about the i18n-dev mailing list