The library to handle plurals of nouns or unit expressions.
Languages vary in how they handle plurals of nouns or unit expressions ("hour" vs "hours", and so on). Some languages have two forms, like English; some languages have only a single form; and some languages have multiple forms.
Quantus is a library that implementes providers that returns correct plural category for cardinal numbering. These categories are:
- Zero
- One
- Two
- Few
- Many
- Other
Providers implements rules that are described here: Language Plural Rules
Currently only following languages are supported:
- Danish,
- German,
- English,
- French,
- Japanese,
- Polish
Nuget package is available: https://www.nuget.org/packages/Quantus
There is Quantus.Sitecore library that provides basic integration of Quantus library for Sitecore.
The aim is to implement providers for all languages and add a support for ordinal numbering.