---
title: '|localize'
description: forces locale-aware formatting on one value.
date: '2026-08-21'
categories:
  - Filter
  - Formatting
canonical: https://coolify.djangotemplatetagsandfilters.com/filters/localize/
doc_link: >-
  https://docs.djangoproject.com/en/6.1/topics/i18n/formatting/#std-templatefilter-localize
---

# |localize

forces locale-aware formatting on one value.

## Documentation

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

### Template

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

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