Html inside {% blocktrans %} tags

1,142 views
Skip to first unread message

Stephen Sundell

unread,
May 8, 2009, 9:06:17 PM5/8/09
to Django users, evan....@gmail.com
Can I wrap something like : "<a href="something">Click here</a> to go
back." inside a blocktrans tag? If not is there some sort of work
around for this? I know in this particular case it wouldn't be to bad
to make the whole text the link, but this is just and example.

Thanks

rskm1

unread,
May 11, 2009, 2:25:41 PM5/11/09
to Django users
On May 8, 8:06 pm, Stephen Sundell <stephen.sund...@gmail.com> wrote:
> Can I wrap something like : "<a href="something">Click here</a> to go
> back." inside a blocktrans tag?

Certainly! The only caveat is that the person doing the translation
work (often a hired contractor, sometimes from outside of the Computer-
Science field) will need to understand HTML markup and ensure that
they don't mess up or misplace or omit the tags.

HTML is straightforward enough that you can explain it to a rookie in
a few paragraphs (e.g. "don't translate the text between the "<" and
">". "</__>" marks where the style ends, so make sure the tags are in
equivalent spots in the translated text. Etc etc.)

--Rob
Reply all
Reply to author
Forward
0 new messages