Posting this question made me rethink the problem... And it was a very small mistake: {% trans "..." %} is not able to mark multilined... Just use one line and everything will work.
Hope this helps someone :-) Alex On 5 Mrz., 04:19, Alex <alexanderschmi...@googlemail.com> wrote: > I've got some very simply templates in which marking strings as > translatable is not working. For example: > > --- snip > > {% extends "base.html" %} > {% load i18n %} > > {% block content %} > > <h2>{% trans "Password reset successful" %}</h2> > > {% trans "You successfully resetted your password. A confirmation mail > has been sent. Check your inbox for further instructions." %} > > {% endblock %} > > --- snip > > For example for this template, the first text is being translated. The > second one is just printed like {% trans "The text..." %}. > > I'm using the trans-tag in a very simple way and exactly how I used it > numerous times without running into problems. Do you have an idea on > this? I tried everything that came to my mind - the problem persists. > Could it be a problem of the development version? I didn't find > anything on the tickets and bug reports... > > Hoping that I did not miss something very obvious :-) > > Thanks in advance > > Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.