|language_name_local Filter

gives a language's name in its own language.

String As Markdown

Argument
code (required)
Requires
{% load i18n %}

Documentation

The name of the language as its own speakers write it — which is what belongs in a language switcher, since a reader who cannot read the current language cannot read “French” either.

Template

{% load i18n %}
{{ "fr"|language_name_local }}

Result

français

More String Filters

All String Filters


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

Send Feedback

Official Documentation
This page last updated on August 20, 2026