On Fri, Apr 16, 2010 at 10:52 AM, simonecare...@gmail.com <simonecare...@gmail.com> wrote: > Hi all, > > I'm noticing a strange problem with gettext makemessages command. > > When I launch it to generate a .po file, it seems it completely > ignores i18n strings that are placed in .txt files. > Cannot see any way to get it referenced in the .po file. > > All others strings are correctly pickled. > > I'm running django 1.1.1 and using the command django-admin.py > makemessages --locale=pt_BR > > Any suggestions? >
By default makemessages will only look at python files and html files, or js files when making the js catalog. You must tell it what files to search for translations, using the --extension (-e) flag to makemessages. See core/management/commands/makemessages.py for more details. Cheers Tom -- 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.