Absolutely ... the """ is misleading ... I added it only for clarity ...
here is a chunk of the content of a xxx.html file (template) ---- This object has been created by <a href={% url user-homepage myobject.owner.id %}>{{ myobject.owner.username }}</a> ---- My question is : how can I use the django translation mecanism (blocktrans tag & co) to translate that so that I will have This object has been created by %(username)s" in my po file ... (I don't want to put hmlt tags (links) in my translation file) I hope I made my question more understandable than before ... On 25 oct, 06:44, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 24-Oct-07, at 9:24 PM, alain D. wrote: > > > """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 ... > > frankly I dont understand the question - are you generating html code > in your view? > > -- > > regards > kghttp://lawgon.livejournal.comhttp://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?hl=en -~----------~----~----~----~------~----~------~--~---