On Sat, 2008-01-26 at 04:40 -0800, halukdogan wrote: > hello > > i'm trying to develop a multilingual web app with django. i've > acchieved making django translate the messages in the views.py but it > does not translate the messages in the template files. > my message file for English is: > > #: html/anasayfa.html:9 > #, fuzzy > msgid "Hatali Giris" > msgstr "Not Authorized" > > and my template is: > {% trans "Hatali Giris" %} > > when i test it, I see that it doesn't translate the original message > to "Not Authorized". what's wrong here? > > thanks.
Did you: 1) Compile your .mo files to .po files? 2) {% load i18n %} at the top of your template? 3) Restart your server? Cheers, Cliff --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---