Documentation
¶
Index ¶
Constants ¶
View Source
const ( RuleZero = "zero" RuleOne = "one" RuleTwo = "two" RuleFew = "few" RuleMany = "many" RuleOther = "other" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluralRules ¶
type PluralRules struct{ Zero, One, Two, Few, Many, Other bool }
func LocalePluralRules ¶
func LocalePluralRules(locale language.Tag) (cardinal, ordinal PluralRules)
LocalePluralRules returns cardinal and ordinal plural rules for locale.
Click to show internal directories.
Click to hide internal directories.