Unlike English, which has just singular and plural, Czech selects one of three noun forms depending on the number in front of it. Getting this wrong is the most common localisation bug in Czech software, so this helper picks the right form for any count.
How it works
For a whole number n, Czech uses the Unicode CLDR plural categories:
n = 1 → "one" → singular nominative (1 koruna)
n = 2, 3, 4 → "few" → nominative plural (2 koruny)
n = 0, 5, 6, … → "many" → genitive plural (5 korun)
non-integer → "other"→ genitive/other plural (1,5 koruny)
The rule looks at the entire integer value, so 22 and 104 both fall into the “many” genitive-plural bucket — Czech does not key off only the final digit the way some languages do.
Example and tips
Enter the forms koruna / koruny / korun and try the counts 1, 3, and 7 to see
1 koruna, 3 koruny, and 7 korun. Always supply the genitive plural (the 5+
form) carefully, as it is the one most learners get wrong — it often drops the
final vowel (kniha → knih, žena → žen). For software, map these to your i18n
library’s one, few, and many keys.