Opened 13 years ago

Closed 13 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

Description

See here: https://docs.djangoproject.com/en/dev/topics/i18n/localization/

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 settings.py.

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 by anonymous, 13 years ago

There should not be a question mark after TemplateSyntaxError.

comment:2 by Russell Keith-Magee, 13 years ago

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