trans_choice

The trans_choice function translates the given translation key with inflection:
<?php echo trans_choice('messages.notifications', $unreadCount);
<?php     {

        $count = Arr::get($context, $params[0], $params[0]);



        return trans_choice($value, $count);

    }
<?php         $key = $this->params->get('key', $tag);

        $count = $this->params->int('count', 1);



        return trans_choice($key, $count, $this->params->all());

    }

}
<?php             trans('php trans double quote string'),

            trans('php trans double quote :param', ['param']),



            trans_choice('php trans_choice single quote string', 2),

            trans_choice('php trans_choice single quote :param', 2, ['param']),

            trans_choice('php trans_choice double quote string', 2),

            trans_choice('php trans_choice double quote :param', 2, ['param']),
<?php             trans('php trans double quote :param', ['param']),



            trans_choice('php trans_choice single quote string', 2),

            trans_choice('php trans_choice single quote :param', 2, ['param']),

            trans_choice('php trans_choice double quote string', 2),

            trans_choice('php trans_choice double quote :param', 2, ['param']),
<?php             trans_choice('php trans_choice single quote string', 2),

            trans_choice('php trans_choice single quote :param', 2, ['param']),

            trans_choice('php trans_choice double quote string', 2),

            trans_choice('php trans_choice double quote :param', 2, ['param']),



            __('php with/slash'),
<?php             trans_choice('php trans_choice single quote string', 2),

            trans_choice('php trans_choice single quote :param', 2, ['param']),

            trans_choice('php trans_choice double quote string', 2),

            trans_choice('php trans_choice double quote :param', 2, ['param']),



            __('php with/slash'),

        ];