Cldr v0.7.0 Cldr.Gettext.Plural View Source
Defines a Plural module for Gettext that uses the Cldr plural rules.
Link to this section Summary
Functions
Returns the number of possible plural forms in the given locale
Returns the plural form in the given locale for the given count of
elements
Link to this section Functions
Returns the number of possible plural forms in the given locale.
Callback implementation for Gettext.Plural.nplurals/1.
Returns the plural form in the given locale for the given count of
elements.
Callback implementation for Gettext.Plural.plural/2.