trans_choice

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