{% trans %} Tag

older spelling of translate.

Utility As Markdown

Argument(s)
message [as varname]
Closing tag
Not required
Requires
{% load i18n %}

Documentation

The original name for {% translate %}. Both are supported and do exactly the same thing; {% translate %} is the spelling to use in new templates, and this one is documented so an older codebase is still searchable here.

Template

{% load i18n %}
<h1>{% trans "Welcome back" %}</h1>

More Utility Tags

All Utility Tags


Did we get something wrong? Is there a use case for the trans tag that we should add? Please let us know.

Send Feedback

Official Documentation
This page last updated on August 20, 2026