Skip to content

pivotick v3.0.0


pivotick / I18nOptions / PluralForms

Interface: PluralForms ​

Defined in: interfaces/I18n.ts:16

A message that depends on a count, one entry per CLDR plural category the language uses. The form is picked by Intl.PluralRules from the count param; other is required because every language has it.

Example ​

ts
{ one: 'Hid {count} node', other: 'Hid {count} nodes' }
// Polish needs three forms
{ one: 'Ukryto {count} węzeł', few: 'Ukryto {count} węzły', many: 'Ukryto {count} węzłów', other: 'Ukryto {count} węzła' }

Properties ​

few? ​

optional few: string

Defined in: interfaces/I18n.ts:20


many? ​

optional many: string

Defined in: interfaces/I18n.ts:21


one? ​

optional one: string

Defined in: interfaces/I18n.ts:18


other ​

other: string

Defined in: interfaces/I18n.ts:22


two? ​

optional two: string

Defined in: interfaces/I18n.ts:19


zero? ​

optional zero: string

Defined in: interfaces/I18n.ts:17