-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The MessageFormat integration should include integration with CommonConceptFactory::quantify. Here are some possible examples of what that may look like.
en_US (US English)
| Example | Number | Printed Result | Spoken Result |
|---|---|---|---|
{$number :quantify unit=|new message|} |
101 | 101 new messages | one hundred one new messages |
{$number :quantify unit=|megaparsec|} |
101 | 101 megaparsecs | one hundred one megaparsecs |
{$number :quantify unit=$unit} |
101 | 101 kilometers | one hundred one dogs |
de (German)
| Example | Number | Printed Result | Spoken Result |
|---|---|---|---|
{$number :quantify unit=|Film| case=dative} |
1 | 1 Film | einem Film |
{$number :quantify unit=|Film| case=dative} |
2 | 2 Filmen | zwei Filmen |
The German case would be invalid for English, and it should be marked as invalid in some way. I'm not sure how to support the formattedNumber argument.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels