> when I use this command
> ./manage.py makemessages -l nl  -e=html,txt,py --
> pythonpath=apps_pinax,templates_pinax
>
> It finds also text in the txt files.. but it also comments out parts
> of translations I found with the first command like
>
> #~ msgid "Discussion Topics for Tribe"
> #~ msgstr "Discussies van groep"

That "commenting-out" behavior is normal for strings that aren't in-
use anymore.  Which means, makemessages didn't find "Discussion Topics
for Tribe".  Your syntax looks fine, judging by the latest docs, so I
can only think of two possible explanations:
  1. There's a bug in makemessages' handling of the "-e=" parameter,
-OR-
  2. You ran makemessages with some of those options missing.

#2 seems most likely.  If you'd accidentally mis-typed the
makemessages command once on a previous attempt, that would've caused
some strings to be commented-out.  I'm pretty sure that running
makemessages again with the CORRECT options won't magically UN-comment
those entries.

Does your django.po file have a new entry for templates_pinax/tribes/
topics.html:11 "Discussion Topics for Tribe" that ISN'T commented out?

(Sorry, I can't attempt to reproduce the behavior myself -- I'm still
using 0.97 which predates the integration into manage.py AND the -e
option =)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to