Skip to content

Kirby 3.6.6

I18n::translateCount()

Translates amounts

I18n::translateCount(string $key, int $count, string $locale = null, bool $formatNumber = true): mixed

Parameters

Name Type Default Description
$key * string
$count * int
$locale string null
$formatNumber bool true If set to false, the count is not formatted

Return type

mixed

Parent class

Kirby\Toolkit\I18n