class CrI18n::Pluralization
- CrI18n::Pluralization
- Reference
- Object
Overview
A blatant ripoff of concepts from https://crystal-i18n.github.io/pluralization_rules.html
Defined in:
cr-i18n/pluralization.crClass Method Summary
- .auto_register_rules
- .pluralize(count : Float | Int, language : String, locale : String) : String | Nil
- .register_locale(locale : String, rule : PluralRule)
- .supported_locales
Class Method Detail
def self.pluralize(count : Float | Int, language : String, locale : String) : String | Nil
#