Hi, I've been struggling with this for a while now... Calling for help.. I believe I'm doing something stupid :
here is a view : def display_vak_teacher(request,**kwargs): (.... skip skip skip) slogan=ugettext_lazy("Welcome to the page of the %(subj)s class of %(fn)s %(ln)s" % { 'subj':vak_per_teacher.vak.name.lower(), 'fn':vak_per_teacher.teacher.first_name, 'ln':vak_per_teacher.teacher.last_name}) return render_to_response(template, { (some more stuff) 'slogan' : slogan, (some more stuff again) }) and a django.po file that looks like (for that string): #: content/views.py:362 #, python-format msgid "Welcome to the page of the %(subj)s class of %(fn)s %(ln)s" msgstr "Welkom op de pagina van de klas %(subj)s van %(fn)s %(ln)s" It apparently never gets translated. What am I doing wrong? All strings with no variables included are translated all right, but all the ones with a variable are not. I must be missing something very obvious but I can't find what... any idea? Francois --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---