{% load i18n %} {% if quantity == 1 %} {% blocktrans with title=product.get_title %} {{ title }} has been added to your basket. {% endblocktrans %} {% else %} {% blocktrans with title=product.get_title quantity=quantity %} {{ quantity }} copies of {{ title }} have been added to your basket. {% endblocktrans %} {% endif %}