We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like data generated in this commit 8e522a1 is incorrect. I found issues with list formatting and unit formatting, but may be there are more.
To Reproduce To rule out issue with CLDR update itself I ran same conversion with java ICU 76 that also includes CLDR 46
TwitterCldr::VERSION # => 6.12.1 TwitterCldr::Formatters::ListFormatter.new(:ru).format(['1', '2', '3'], :"or-narrow") # => "1, 2 или 3" 12.localize(:ru).to_unit.length_mile # => "12 миль" TwitterCldr::VERSION # => "6.14.0" (same issue also with 6.13) TwitterCldr::Formatters::ListFormatter.new(:ru).format(['1', '2', '3'], :"or-narrow") # => "1, 2, or 3" 12.localize(:ru).to_unit.length_mile # => "12 милях"
Java code:
String icuVersion = com.ibm.icu.util.VersionInfo.ICU_VERSION.toString(); System.out.println("ICU Version: " + icuVersion); Locale locale = Locale.of("ru"); ListFormatter list = ListFormatter.getInstance( locale, ListFormatter.Type.OR, ListFormatter.Width.NARROW ); System.out.println(list.format("1", "2", "3")); MeasureFormat formatter = MeasureFormat.getInstance( locale, MeasureFormat.FormatWidth.WIDE); Measure measure = new Measure(12, MeasureUnit.MILE); String result = formatter.format(measure); System.out.println(result);
Outputs:
ICU Version: 76.1.0.0 1, 2 или 3 12 миль
Java output with CLDR 46 and twitter cldr 6.12 is the same, output of twitter cldr 6.13, 6.14 is different and incorrect.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like data generated in this commit 8e522a1 is incorrect. I found issues with list formatting and unit formatting, but may be there are more.
To Reproduce
To rule out issue with CLDR update itself I ran same conversion with java ICU 76 that also includes CLDR 46
Java code:
Outputs:
Java output with CLDR 46 and twitter cldr 6.12 is the same, output of twitter cldr 6.13, 6.14 is different and incorrect.
The text was updated successfully, but these errors were encountered: