Opened 8 years ago

Closed 8 years ago

#16578 closed Bug (invalid)

l10n tag does not load

Reported by: rickweinberger@… Owned by: nobody
Component: Template system Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


See here:

When I actually attempt {% load l10n %}, I get:

TemplateSyntaxError at <URL>

'l10n' is not a valid tag library: Template library l10n not found, tried django.templatetags.l10n,django.contrib.admin.templatetags.l10n

If it matters, I have USE_L10N = True in my

I simply couldn't find anything on this issue anywhere, so I might be reporting a bug in the documentation, rather than a bug in the implementation, if there's simply some setting I have to set that I haven't been told to, etc.

Change History (2)

comment:1 Changed 8 years ago by anonymous

There should not be a question mark after TemplateSyntaxError.

comment:2 Changed 8 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

The l10n tag library works fine for me; without any information to the contrary, I can only assume you're using an older version of Django that didn't have that library.

Note: See TracTickets for help on using tickets.
Back to Top