Hi all,

I have a box containing some static texts in different languages and I
would like to plug-in into few pages as inclusion tag.

But I'm not able to find-out a way how to supply language code for its
template name containing thos static text. I need something like this:

register.inclusion_tag('%s/tag_cust_support.html' %
request.LANGUAGE_CODE, takes_context=True)(.....)

Please, is it somehow possible to access language code of current session
or I should pass those static text via underlying Python function?


Thanks, Peter

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to