Constructor: 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
Attributes:
Name | Type | Required | Description |
---|---|---|---|
key | string | Yes | Localization key |
zero_value | string | Optional | Value for zero objects |
one_value | string | Optional | Value for one object |
two_value | string | Optional | Value for two objects |
few_value | string | Optional | Value for a few objects |
many_value | string | Optional | Value for many objects |
other_value | string | Yes | Default value |
Type: LangPackString
Example:
$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string'];