{% set apples = 0 %} {{ apples|pluralize('You have {} apple.', 'You have {} apples.') }}
{% set apples = 0 %} {{ apples|pluralize('You have {} apple.', 'You have {} apples.') }}
{% set apples = 0 %} {{ apples|pluralize('You have {} apple.', 'You have {} apples.') }}
{% set apples = 0 %} {{ apples|pluralize('You have only one apple.', 'You have {} apples.', 'You don\'t have an apple.') }}
{% set apples = 0 %} {{ apples|pluralize('You have only one apple.', 'You have {} apples.', 'You don\'t have an apple.') }}
{% set apples = 0 %} {{ apples|pluralize('You have only one apple.', 'You have {} apples.', 'You don\'t have an apple.') }}
I like this. For the 0 case, it should be "You have 0 apples"