CLDR Ticket #7059(closed spec: fixed)
Move minimal pair data from PluralRulesFactory.java to xml data file
Reported by: | pedberg | Owned by: | mark |
---|---|---|---|
Component: | plurals | Data Locale: | |
Phase: | spec-beta | Review: | pedberg |
Weeks: | Data Xpath: | ||
Xref: |
Description
Perhaps there is already a ticket about this. Plurals minimal pair data should be moved from PluralRulesFactory.java to an xml data file if possible/
Attachments
Change History
comment:2 Changed 2 years ago by mark
- Owner anybody deleted
- Priority changed from assess to major
- Status changed from closed to new
- Resolution duplicate deleted
- Milestone changed from UNSCH to 30
I couldn't find the ticket for this, so reopening this in design:
Here would be a cldr config file to add the current patterns.
locale=af; action=add ; new_path=//ldml/dates/pluralMinimalPairPatterns/pluralPattern[@count="one"]; new_value={0} dag locale=af; action=add ; new_path=//ldml/dates/pluralMinimalPairPatterns/pluralPattern[@count="other"]; new_value={0} dae ...
To get most recent, run GeneratePluralConfirmation.java
comment:10 Changed 15 months ago by mark
Added data and structure. TODO
- Load PluralRulesFactory.SamplePatterns from locales as needed (caching).
- Move the error code from the loading into a Check* runtime check.
- Change the CLDR loading code so that it recognizes ordinal= as well as count=.
comment:11 Changed 15 months ago by mark
- Phase changed from dsub to spec-beta
spec and tooling now...
comment:13 Changed 14 months ago by mark
- Status changed from accepted to reviewing
- Review set to pedberg
comment:14 Changed 14 months ago by pedberg
- Status changed from reviewing to closed
- Xref set to 10106
- Resolution set to fixed
Need coverage for this. I filed cldrbug 10106: for that.