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

CLDR Ticket #5108(accepted data)

Opened 6 years ago

Last modified 3 years ago

Maltese RuleBasedNumberFormat rules need improvement

Reported by: grhoten Owned by: srl
Component: main Data Locale: mt
Phase: Review:
Weeks: Data Xpath:


I recently started to add roundtrip testing for the RBNF data I'm reviewing. There are a lot of problems, but Maltese is generally worse than most of the other languages.

I have attached 3 example results that may provide some review guidance.

Here are some other things to consider:

1) I've generally told reviewers to ignore greyed out cells because the results make no sense (e.g. negative first), or the column is undesirable in the formatting architecture we use.
2) Parse errors are highlighted in red. Maltese is unparseable. The numbers keep throwing StackOverflowErrors.
3) Maltese has no ordinals. If they exist, it would be nice if you provide them.
4) Collapsed columns for cardinal-feminine and cardinal-masculine are desired, which are similar to Arabic. For the positionally dependent numbers, we prefer to make that decision outside of RBNF in order to get the spacing correct.
5) I'm currently planning on including these Maltese changes after the current CLDR release, unless Steven and John say otherwise.

It would be helpful if you could fix these Maltese issues.


en-results.html (52.7 KB) - added by grhoten 6 years ago.
English example
ar-results.html (95.6 KB) - added by grhoten 6 years ago.
Arabic Example
mt-results.html (90.1 KB) - added by grhoten 6 years ago.
Maltese results
mt.txt (12.9 KB) - added by grhoten 6 years ago.
Maltese rules

Change History

Changed 6 years ago by grhoten

English example

Changed 6 years ago by grhoten

Arabic Example

Changed 6 years ago by grhoten

Maltese results

Changed 6 years ago by grhoten

Maltese rules

comment:1 Changed 6 years ago by grhoten

I use a variant of this source code to generate the table.


comment:2 Changed 5 years ago by grhoten

FYI http://st.unicode.org/cldr-apps/numbers.jsp can be used to interactively debug and develop these rules.

comment:3 Changed 3 years ago by markus

  • Type changed from defect to data

comment:4 Changed 3 years ago by srl

  • Status changed from new to accepted

Add a comment

Modify Ticket

as accepted

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

Note: See TracTickets for help on using tickets.