|localize Filter

forces locale-aware formatting on one value.

Formatting As Markdown

Argument
None
Requires
{% load l10n %}

Documentation

Formats one value according to the active locale, whatever USE_L10N or a surrounding {% localize %} block has decided.

Template

{% load l10n %}
{{ value|localize }}

The single-value counterpart to the tag of the same name.

More Formatting Filters

All Formatting Filters


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

Send Feedback

Official Documentation
This page last updated on August 20, 2026