Constructor: langPackStringPluralized

Back to constructors index

A language pack string which has different forms based on the number of some object it mentions. See for more info


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


$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => 'string', 'zero_value' => 'string', 'one_value' => 'string', 'two_value' => 'string', 'few_value' => 'string', 'many_value' => 'string', 'other_value' => 'string'];

Or, if you’re into Lua:

langPackStringPluralized={_='langPackStringPluralized', key='string', zero_value='string', one_value='string', two_value='string', few_value='string', many_value='string', other_value='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.