Hi everybody,

I'm searching for a short way of applying a filter to a translated
text. I've found some "complex" ways, but I think that probably
there's one shorter.

What i want can be done (for example) by:
{% filter title %}{% trans 'my text' %}{% endfilter %}
{% blocktrans with 'my text'|title as titled %}{{ titled }}{%
endblocktrans %}

But I'm looking for a shorter way, someting like:
{% trans 'my text'|title %}
{% _('mytext')|title %}

that of course doesn't work.

Thanks!
  Marc


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