Plural variants of one message, picked with params.count (Intl.PluralRules of the active language). other is required; zero also matches an exact count === 0 even in languages whose rules have no zero category (es, en).
params.count
Intl.PluralRules
other
zero
count === 0
{ zero: 'Sin artículos', one: '{count} artículo', other: '{count} artículos' } Copy
{ zero: 'Sin artículos', one: '{count} artículo', other: '{count} artículos' }
Optional
Plural variants of one message, picked with
params.count(Intl.PluralRulesof the active language).otheris required;zeroalso matches an exactcount === 0even in languages whose rules have no zero category (es, en).Example