I18n::translateCount()
Translates amounts
I18n::translateCount(string $key, int $count, string|null $locale = null, bool $formatNumber = true)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $keyrequired | string |
no default value | |
| $countrequired | int |
no default value | |
| $locale | stringornull |
null
|
|
| $formatNumber | bool |
true
|
If set to false, the count is not formatted |