On 20-Aug-06, at 1:22 PM, [EMAIL PROTECTED] wrote:

> I tried this, but neither
> {% include {% trans "welcome.html" %} %}
> nor
> {% include "{% blocktrans %}welcome.html{% endblocktrans %}" %}
> appear to work (make-messages doesn't even seem to find these
> translation strings).
>
> What would be the correct/best way to do this?

{% ifequal langname 'en' %}
{% include enfile %} etc

where you set langname in your view

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to