{% 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.') }}
Ok. In French the plural is only if the value is > 1 (and I'm french ^^).
You can adjust it easily if you need to change the rule.