Discover Packages
github.com/loopcontext/msgcat
internal
plural
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Feb 26, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package plural provides CLDR plural form selection for a given language and count.
Form names: "zero", "one", "two", "few", "many", "other".
Form returns the CLDR plural form for the given language tag and count.
Language tag is normalized to base (e.g. "en-US" -> "en"). Unknown languages default to "other".
Source Files
¶
Click to show internal directories.
Click to hide internal directories.