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
| Name | Type | Required | Description |
|---|---|---|---|
Key | string | yes | Localization key |
ZeroValue | string | — | Value for zero objects |
OneValue | string | — | Value for one object |
TwoValue | string | — | Value for two objects |
FewValue | string | — | Value for a few objects |
ManyValue | string | — | Value for many objects |
OtherValue | string | yes | Default value |
References
- Official documentation
- Generated Go reference
- TL definition:
langPackStringPluralized#6c47ac9f