Hi,
Here is a chunk of django template ... I'd like to
translate it
using django i18n mecanism but I'm hitting a problem (I
guess it's the
same I was hitting a few months ago [see history]). I guess
there is
no perfect solution for that right now, but a working
workaround
would be good enough :
"""By <a href={% url user-homepage
myobject.owner.id
%}>{{ myobject.owner.username
}}</a>"""
of course, I'd like to have : """by
%(username)s""" as a key in my
translation files ...
Any idea ?
Regards,
--
AD
--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|