Skip to main content

langPackStringPluralized

A language pack string which has different forms based on the number of some object it mentions. See https://www.unicode org/cldr/charts/latest/supplemental/language_plural_rules.html for more info

type tg.LangPackStringPluralized struct { /* ... */ }

Implements LangPackString.

Fields

NameTypeRequiredDescription
KeystringyesLocalization key
ZeroValuestringValue for zero objects
OneValuestringValue for one object
TwoValuestringValue for two objects
FewValuestringValue for a few objects
ManyValuestringValue for many objects
OtherValuestringyesDefault value

References