Skip to content

Kirby 3.9.8

I18n::translateCount()

Translates amounts

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

Parameters

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

Parent class

Kirby\Toolkit\I18n