class CrI18n::Pluralization

Overview

A blatant ripoff of concepts from https://crystal-i18n.github.io/pluralization_rules.html

Defined in:

cr-i18n/pluralization.cr

Class Method Summary

Class Method Detail

def self.auto_register_rules #

[View source]
def self.pluralize(count : Float | Int, language : String, locale : String) : String | Nil #

[View source]
def self.register_locale(locale : String, rule : PluralRule) #

[View source]
def self.supported_locales #

[View source]