take a look at http://docs.djangoproject.com/en/1.2/topics/i18n/internationalization/ it is clear, but for short:
1 - in .py files: from django.utils.translation import ugettext as _ and mark each text you want to traslate like this _("My string") 2 - in .html files: {% load i18n %} and mark with {% trans "My string" %} On Mar 14, 4:00 pm, aldanajaramillo <aldanajarami...@gmail.com> wrote: > Hi, > > I am new with Python and Django. Currently I am working on a new > project using Django and I already have some templates ready to be > used but now I want to use the internationalization feature to > translate some texts of these templates. I already read the > documentation about it but I don't know where to start..... > > Can anyone please give me some detailed instructions about how to > translate text of the templates? > > Where should I put the call to the _("text_to_translate") view? inside > the .py file that launch the template? > > Thanks in advance, -- 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.