Skip to content

Review non-integral exact number selection algorithm #675

Open
@eemeli

Description

After the discussions in #621 (comment) and #621 (comment) as well as our live calls, we ended up leaving out an explicit definition of numerical matching for non-integer values like 0.0 or 1.5, but the text around this carries three separate notes about the current solution.

After the publication of LDML 45, we should revisit this and seek to specify the text further. We should also ensure that our solution is in line with the existing LDML Language Plural Rules, which includes a section on Explicit 0 and 1 rules. In particular, there we already have:

The explicit “0” and “1” cases apply to the exact numeric values 0 and 1 respectively. These cases are typically used for plurals of items that do not have fractional value, like books or files.

This should be accounted for in the MF2 text, and an appropriate solution here might be to expand the current Language Plural Rules section, so that in the MF2 text we can refer to it for exact number matching.

Metadata

Assignees

No one assigned

    Labels

    LDML47LDML 47 Release (Stable)Seek-Feedback-in-PreviewIssue should be something we seek feedback on in the tech preview periodblocker-candidateThe submitter thinks this might be a block for the Technology PreviewregistryIssue pertains to the function registry

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions