MyApp.Cldr.Gettext.Plural.nplurals

You're seeing just the function nplurals, go back to MyApp.Cldr.Gettext.Plural module for more information.

Specs

Returns how many plural forms exist for a given locale.

Examples

iex> MyApp.Cldr.Gettext.Plural.nplurals("pl")
4

iex> MyApp.Cldr.Gettext.Plural.nplurals("en")
2