This works like a charm. Thank you very much.

Thanks,
Charles


On Sep 6, 2:58 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> > I think this would work with Python code. However, can I do the
> > translation in Django's Template language? If so, how?
>
> See 
> blocktrans:http://www.djangoproject.com/documentation/i18n/#in-template-code
>
> In short, you would use:
> {% blocktrans %}login.before.you.proceed {{ login_url }}{%
> endblocktrans %}
>
> The .po file would be exactly what you have above:
> msgid "login.before.you.proceed %(login_url)s"
> msgstr "Please <a href="%(login_url)s">Login</a> before you proceed"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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