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

CLDR Ticket #10145(closed data: fixed)

Opened 7 months ago

Last modified 4 months ago

Slovak number to words - incorrect translation

Reported by: janmochnak@… Owned by: grhoten
Component: rbnf Data Locale: sk-SK
Phase: rc Review: sascha
Weeks: Data Xpath:
Xref:

Description

eg.
12 dvaásť -> dvanásť
20 dvasať -> dvadsať
30 trisať -> tridsať

"-" minus -> mínus

Attachments

changes.patch (4.0 KB) - added by janmochnak@… 7 months ago.

Change History

Changed 7 months ago by janmochnak@…

comment:1 Changed 6 months ago by mark

Mark to look at CLA issues.

comment:2 Changed 4 months ago by grhoten

  • Component changed from numbers to rbnf

The changes look valid.

It would be nice if the submitter could contribute ordinal rules or other valid declensions for Slovak too. Here's some examples.

http://outils.apprenti-polyglotte.net/sk/explication_numeral.php?lang=en
http://mylanguages.org/slovak_numbers.php
https://slovake.eu/en/learning/intro/numerals

The Number Format Tester can help with writing those rules.

comment:3 Changed 4 months ago by emmons

  • Owner changed from anybody to grhoten
  • Phase changed from dsub to rc
  • Priority changed from assess to medium
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 32

comment:4 Changed 4 months ago by grhoten

Hmm, Slovak seems to have the plural rules incorrectly written for large numbers too. I'll have to rewrite those too.

comment:5 Changed 4 months ago by grhoten

It looks like it will take a while to write the Slovak ordinal rules with near zero ability to vet them. The following incomplete rules can be used as a future seed for writing them and testing them with Number Format Tester.

%spellout-ordinal-masculine:
-x: mínus >>;
x.x: =0.0=;
0: nultý;
1: prvý;
2: druhý;
3: tretí;
4: štvrtý;
5: piaty;
6: šiesty;
7: siedmy;
8: ôsmy;
9: deviaty;
10: desiaty;
11: jedenásty;
12: dvanásty;
13: trinásty;
14: štrnásty;
15: pätnásty;
16: šestnásty;
17: sedemnásty;
18: osemnásty;
19: devätnásty;
20: dvadsiaty[ >>];
30: tridsiaty[ >>];
40: štyridsiaty[ >>];
50: <%spellout-cardinal-masculine<desiaty[ >>];
100: stý;
101: ­sto[>>];
200: <%spellout-cardinal-neuter<­sto[­>>];
1000: <%spellout-cardinal-feminine< tisíc[ >>];
1000000: <%spellout-cardinal-masculine< $(cardinal,one{milión}few{milióny}other{miliónov})$[ >>];
1000000000: <%spellout-cardinal-masculine< $(cardinal,one{miliarda}few{miliardy}other{miliardov})$[ >>];
1000000000000: <%spellout-cardinal-masculine< $(cardinal,one{bilión}few{bilióny}other{biliónov})$[ >>];
1000000000000000: <%spellout-cardinal-masculine< $(cardinal,one{biliarda}few{biliardy}other{biliardov})$[ >>];
1000000000000000000: =#,##0=;
%spellout-ordinal-neuter:
-x: mínus >>;
x.x: =0.0=;
0: nulté;
1: prvé;
2: druhé;
3: tretie;
4: štvrté;
5: piate;
6: šieste;
7: siedme;
8: ôsme;
9: deviate;
10: desiate;
11: jedenáste;
12: dvanáste;
13: trináste;
14: štrnáste;
15: pätnáste;
16: šestnáste;
17: sedemnáste;
18: osemnáste;
19: devätnáste;
20: dvadsiate[ >>];
30: tridsiate[ >>];
40: štyridsiate[ >>];
50: <%spellout-cardinal-masculine<desiate[ >>];
100: =%spellout-ordinal-masculine=;
%spellout-ordinal-feminine:
-x: mínus >>;
x.x: =0.0=;
0: nultá;
1: prvá;
2: druhá;
3: tretia;
4: štvrtá;
5: piata;
6: šiesta;
7: siedma;
8: ôsma;
9: deviata;
10: desiata;
11: jedenásta;
12: dvanásta;
13: trinásta;
14: štrnásta;
15: pätnásta;
16: šestnásta;
17: sedemnásta;
18: osemnásta;
19: devätnásta;
20: dvadsiata[­>>];
30: tridsiata[ >>];
40: štyridsiata[ >>];
50: <%spellout-cardinal-masculine<desiata[ >>];
100: =%spellout-ordinal-masculine=;

comment:6 Changed 4 months ago by grhoten

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

comment:7 Changed 4 months 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.