You gave us the project layout, but where are the templates? My guess is that Django is basically not picking them templates *up*, but I might be off.
There are arguments to the makemessages command that can help you indicate the directory you want messages created for. You can also use higher verbosity I think. I'm sorry I can't name them on the top of my head though. Le 17 août 2012 04:16, "Jojo" <matteo.delloi...@gmail.com> a écrit : > Hi, the subject should be a little clear so, this is the project folder > structure > > project folder > locale > en > LC_MESSAGES > django.po > es > LC_MESSAGES > django.po > it > LC_MESSAGES > django.po > project > __init__.py > mochileros > settings.py > urls.py > wsgi.py > application folder > models.py > views.py > > > I have created a locale folder and after I launched the django-admin.py > makemessages command as explained in the documentation, but when I open a > .po file (the command create the files actually), I can't found > the msgid/msgstr relative to the translation instruction in my template > files. > This is my base template. > > {% load i18n %} > > <!DOCTYPE html> > <html> > ... > <div id="MENU"> > <a class="MENU" href="{% url views.home %}">{% trans "home" %}</a> > <a class="MENU" href="{% url views.contacts %}">{% trans "contacts" %}</a> > <a class="MENU" href="{% url views.about_us %}">{% trans "about_us" %}</a> > ... > </div> > > > I have added the LocaleMiddleware in the settings file so, do I forgot > something? > Any suggestions? > > > Thank you in advance > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/QT9zFkTK5zwJ. > 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. > -- 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.