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

CLDR Ticket #10924(closed: fixed)

Opened 9 months ago

Last modified 8 weeks ago

RBNF rules for Hungarian

Reported by: nemeth.lacko@… Owned by: grhoten
Component: numbers Data Locale: hu
Phase: dvet Review: sascha
Weeks: Data Xpath:
Xref:

Description

Fixed RBNF rules for Hungarian (EZR/EZER: 1000th = "ezredik", but 1001th -> "ezeregyedik", HYPHEN: "kétezer-egy", not "kétezer egy", YEAR: no "20 hundred" forms, also without hyphen: 2001 -> "kétezeregy", not "kétezer-egy"):

%spellout-numbering-year:
-x: mínusz >>;
x.x: =0.0=;
0: =%spellout-numbering=;
2000: <%%spellout-cardinal-initial<­ezer[>>];
1000000: <%%spellout-cardinal-initial<millió[>>];
1000000000: <%%spellout-cardinal-initial<milliárd[>>];
1000000000000: <%%spellout-cardinal-initial<billió[>>];
1000000000000000: <%%spellout-cardinal-initial<billiárd[>>];
%spellout-numbering:
0: =%spellout-cardinal=;
%spellout-cardinal:
-x: mínusz >>;
x.x: << egész >>;
0: nulla;
1: egy;
2: kettő;
3: három;
4: négy;
5: öt;
6: hat;
7: hét;
8: nyolc;
9: kilenc;
10: tíz;
11: tizen­>>;
20: húsz;
21: huszon­>>;
30: harminc[­>>];
40: negyven[­>>];
50: ötven[­>>];
60: hatvan[­>>];
70: hetven[­>>];
80: nyolcvan[­>>];
90: kilencven[­>>];
100: száz[­>>];
200: <%%spellout-cardinal-initial<­száz[­>>];
1000: ezer[>>];
2000: <%%spellout-cardinal-initial<­ezer[->>];
1000000: <%%spellout-cardinal-initial<millió[->>];
1000000000: <%%spellout-cardinal-initial<milliárd[->>];
1000000000000: <%%spellout-cardinal-initial<billió[->>];
1000000000000000: <%%spellout-cardinal-initial<billiárd[->>];
1000000000000000000: =#,##0=;
%spellout-cardinal-verbose:
-x: mínusz >>;
x.x: << egész >>;
0: =%spellout-cardinal=;
100: <<­száz[­>>];
1000: <<­ezer[ >>];
1000000: <<millió[ >>];
1000000000: <<milliárd[ >>];
1000000000000: <<billió[ >>];
1000000000000000: <<billiárd[ >>];
1000000000000000000: =#,##0=;
%%spellout-cardinal-initial:
1: egy;
2: két;
3: =%spellout-cardinal=;
%spellout-ordinal:
-x: mínusz >>;
x.x: =#,##0.#=;
0: nulla;
1: első;
2: második;
3: =%%spellout-ordinal-larger=;
%%spellout-ordinal-adik:
0: adik;
1: =%%spellout-ordinal-larger=;
%%spellout-ordinal-odik:
0: odik;
1: =%%spellout-ordinal-larger=;
%%spellout-ordinal-larger:
0: edik;
1: egyedik;
2: kettedik;
3: harmadik;
4: negyedik;
5: ötödik;
6: hatodik;
7: hetedik;
8: nyolcadik;
9: kilencedik;
10: tizedik;
11: tizen>>;
20: huszadik;
21: huszon>>;
30: harminc>%%spellout-ordinal-adik>;
40: negyven>>;
50: ötven>>;
60: hatvan>%%spellout-ordinal-adik>;
70: hetven>>;
80: nyolcvan>%%spellout-ordinal-adik>;
90: kilencven>>;
100: száz>%%spellout-ordinal-adik>;
200: <%%spellout-cardinal-initial<száz>%%spellout-ordinal-adik>;
1000: ezr>>;
1001: ezer>>;
2000: <%%spellout-cardinal-initial<ezr>>;
2001: <%%spellout-cardinal-initial<ezer>>;
1000000: <%%spellout-cardinal-initial<milliom>%%spellout-ordinal-odik>;
1000000000: =#,##0=.;
%spellout-ordinal-verbose:
-x: mínusz >>;
x.x: =#,##0.#=;
0: nulladik;
1: első;
2: második;
3: =%%spellout-ordinal-verbose-larger=;
%%spellout-ordinal-verbose-adik:
0: adik;
1: =%%spellout-ordinal-verbose-larger=;
%%spellout-ordinal-verbose-odik:
0: odik;
1: =%%spellout-ordinal-verbose-larger=;
%%spellout-ordinal-verbose-larger:
0: =%%spellout-ordinal-larger=;
100: <%spellout-cardinal-verbose<száz>%%spellout-ordinal-verbose-adik>;
1000: <%spellout-cardinal-verbose<ezr>>;
1001: <%spellout-cardinal-verbose<ezer>>;
1000000: <%spellout-cardinal-verbose<milliom>%%spellout-ordinal-verbose-odik>;
1000000000: =#,##0=.;

Attachments

Change History

comment:1 Changed 9 months ago by pedberg

  • Status changed from new to accepted
  • Component changed from survey to numbers
  • Priority changed from assess to medium
  • Phase changed from dsub to dvet
  • Milestone changed from UNSCH to 34
  • Owner changed from anybody to grhoten
  • type changed from unknown to data

comment:2 Changed 5 months ago by grhoten

  • Summary changed from Feedback for Number Format Tester SpelloutRules to RBNF rules for Hungarian

comment:3 Changed 5 months ago by grhoten

  • Status changed from accepted to reviewing
  • Review set to sascha

The changes to numbering-year are not completely valid. You just have to delete the year grouping if the numbering and numbering-year match. Based on your request, it sounds like 1999 is not grouped as nineteen ninety-nine in Hungarian.

According to https://www.integers.co/questions-answers/how-is-1000001-spelled-out-in-other-languages-or-countries.html it seems that 1,000,001 is spelt as "egy millió egy". This contradicts the request of the value being "egymillió-egy".

According to https://www.catchbudapest.com/hungarian-numbers/ it seems that 49659 should be spelt as negyvenkilencezerhatszázötvenkilenc, which also contradicts this request for that value to be "negyven­kilenc­ezer-hat­száz­ötven­kilenc".

It seems like the Catch Budapest web site is closer to this request, and it seems a little more authoritative. I'll just replace the hyphens and spaces with soft hyphens. Those soft hyphens only appear when line wrapping. The current rules only use soft hyphens sometimes.

comment:4 Changed 8 weeks ago by sascha

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

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.