Reference

Guide

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

Source code

kirby/src/Toolkit/I18n.php#L276