#12650: Some contrib apps depend on the i18n context processor to output valid
XHTML
------------------------------------+---------------------------------------
Reporter: robhudson | Owner: ramiro
Status: closed | Milestone:
Component: Uncategorized | Version: 1.1
Resolution: worksforme | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by robhudson):
I just looked again at 2 of my projects using debug toolbar. If I add the
i18n context processor, I see the LANGUAGE_CODE context variable in the
templates panel and the HTML looks good. When I disable it, I no longer
see the LANGUAGE_CODE available in the context. Checking the settings
panel, I do, in fact see that LANGUAGE_CODE='en-us'... it's just not
getting into the template context. And if the i18n context processor is
disabled, I don't see how it would get there unless manually added in the
view.
Unless someone else can see this, I'm not going to re-open it.
--
Ticket URL: <http://code.djangoproject.com/ticket/12650#comment:6>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.