Regardless of where the translation is defined,

```
{% if product.get_id %}
    {% trans 'Update' %}
{% else %}
    {% trans 'Create' %}
{% endif %} {% trans 'Product' %}
```

which will result in bad translated text, would probably be better to just do

```
{% if product.get_id %}
    {% trans "Update Product" %}
{% else %}
    {% trans "Create Product" %}
{% endif %}
```