Friday, March 25, 2011

LANGUAGE_CODE inside the template of an inclusion tag

Hello everybody,

I'd like to use LANGUAGE_CODE in the template of an inclusion tag but
this doesn't work.
I added 'django.core.context_processors.i18n' in the settings, I load
i18n in my template, and I specified to take context when I register
my inclusion_tag.
Am I missing something or is it impossible to use LANGUAGE_CODE in
this case?

Thank you for your answers.

Regards,


Gontran

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate