cldr

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL