Still no answers.
Is it because it's impossible?

By the way, I know that inside the code of my tag I can get the
context and then the language used by the user, by I want to access to
this value inside my template, without having to pass explicitely the
value.

On 25 mar, 16:39, gontran <geoffroydecorb...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to