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
ZeroValuestring—Value for zero objects
OneValuestring—Value for one object
TwoValuestring—Value for two objects
FewValuestring—Value for a few objects
ManyValuestring—Value for many objects
OtherValuestringyesDefault value

References​