public transChoice ( string $id, integer $number, array $parameters = [], string $domain = 'messages', string $locale = null ) : string | ||
$id | string | The message id |
$number | integer | The number to use to find the indice of the message |
$parameters | array | An array of parameters for the message |
$domain | string | The domain for the message |
$locale | string | The locale |
return | string | The translated string |