[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #6774(closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Feedback for Number Format Tester SpelloutRules for Russian

Reported by: daniel.wojciechowski@… Owned by: grhoten
Component: data-other Data Locale: ru
Phase: rc Review: emmons
Weeks: Data Xpath:



There is:
21000 = двадцать одна тысяч
22000 = двадцать две тысяч
Should be:
21000 = двадцать одна тысяча
22000 = двадцать две тысячи

Try to find in google "двадцать одна тысяч" you will see that it is wrong. I'm Polish not Russian - this is why i use Google to make sure what is wrong.


Change History

comment:1 Changed 4 years ago by daniel.wojciechowski@…

More general and more detailed bug found and described in #6775 - I'm sorry for double issue.

comment:2 Changed 4 years ago by emmons

  • Owner changed from anybody to grhoten
  • Status changed from new to assigned
  • Type changed from unknown to defect
  • Component changed from survey to data
  • Milestone changed from UNSCH to 25rc

comment:3 Changed 4 years ago by grhoten

  • Xref set to 6775
  • Summary changed from Feedback for Number Format Tester SpelloutRules to Feedback for Number Format Tester SpelloutRules for Russian

This ticket will be used to track the Russian issues. Here are some updates from ticket 6775.

1000	одна тысяча    SHOULD BE: тысяча
2000	две тысячи     OK
3000	три тысячи     OK
4000	четыре тысячи  OK
5000	пять тысяч     OK
21000	двадцать одна тысяч   SHOULD BE: двадцать одна тысяча
22000	двадцать две тысяч    SHOULD BE: двадцать две тысячи
23000	двадцать три тысяч    SHOULD BE: двадцать три тысячи
24000	двадцать четыре тысяч SHOULD BE: двадцать четыре тысячи
25000	двадцать пять тысяч   OK

comment:4 Changed 4 years ago by kent.karlsson14@…

Regarding "jeden tysiąc" vs. just "tysiąc" (and similar for many locales): That is more a question of level of formality. In most cases I (when originally submitting RBNF data for some seventy locales) opted for formality (including the "one" before "hundred" and "thousand"). And I think the cases that are still informal, they should be made formal, as that is both clearer and more correct. Thus moving towards formality and away from informality here, and not the other way around.

Regarding the inflections in various Slavic languages (tysiąc/tysiące/tysięcy and similar): For now the inflection is covered only for 1-20 as multiplier (to "thousand", "million", etc.). The repeat part (a hundred repeats for each of "thousand", "million", etc.) isn't. If you can find a concise and actually working solution expressed in the RBNF language (and preferably with the current implementation of the RBNF language), please submit it. I have so far been unsuccessful.

comment:5 Changed 3 years ago by emmons

  • Milestone changed from 25rc to 26rc

comment:6 Changed 3 years ago by grhoten

  • Priority changed from assess to medium

comment:7 Changed 3 years ago by grhoten

I tried to implement this fix the same way as cldrbug:5879, but I'm unsuccessful. I guess that fix depends on a helpful bug in ICU's RBNF. Further work is blocked on icubug:10880

Last edited 3 years ago by grhoten (previous) (diff)

comment:8 Changed 3 years ago by pedberg

  • Component changed from data-main to data-other

comment:9 Changed 3 years ago by grhoten

The changes from ​icubug:10880 are in ICU4J. This has made the fix possible. Here are some of the current rules.

1000: <%spellout-cardinal-feminine< тысяча[ >>];
2000: <%spellout-cardinal-feminine< тысячи[ >>];
5000: <%spellout-cardinal-feminine< тысяч[ >>];

Here are the new rules for the same range:

1000: <%spellout-cardinal-feminine<$(cardinal,one{ тысяча}few{ тысячи}other{ тысяч})[ >>];

comment:10 Changed 3 years ago by grhoten

  • Status changed from assigned to reviewing
  • Review set to emmons

The results look fine in my personal copy of Number Format Tester with the trunk version of ICU4J that supports this new RBNF syntax.

comment:11 Changed 3 years ago by markus

  • Phase set to rc
  • Milestone changed from 26rc to 26

comment:12 Changed 3 years ago by emmons

  • Status changed from reviewing to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

as closed
Next status will be 'new'
Next status will be 'closed'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.