[Django]-How to escape a single quote within trans when the line is already wrapped with single quotes?

7πŸ‘

βœ…

I actually found it. Using blocktrans allows you to have anything in there, mixed and matched. πŸ™‚

{% blocktrans %}Enter your friend's name and email below, and click "send invite" to invite your friend.{% endblocktrans %}
πŸ‘€Houman

5πŸ‘

{% trans 'Enter your friend's name and email below, and click "send invite" to invite your friend.' %}
πŸ‘€Akshar Raaj

Leave a comment