#13936: django-admin makemessages generates PO files with an incorrect path to source code files --------------------------------------+------------------------------------- Reporter: ciupicri | Owner: nobody Status: reopened | Milestone: Component: django-admin.py | Version: 1.2 Resolution: | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Changes (by ciupicri):
* status: closed => reopened * resolution: invalid => Comment: Replying to [comment:5 ramiro]: > Replying to [comment:4 ciupicri]: > > Break compatibility with what? As far as I know these are just comments. > > Not free form comments, as indicated bi the leading `': '`. See http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files > > I can't find any formal specification of the for of `.po[t]` files but the document I linked above (official GNU getext manual) shows an example containing a `'#: lib/error.c:116'` program source code reference comment. I was only trying to say that these paths are not mandatory and even if they're "broken", the catalogs can still be compiled and work fine. They're just hints. > > In this case what other translation tools would you recommend? > > See http://www.gnu.org/software/gettext/manual/gettext.html#Editing I tried ''Emacs'' and it failed to show the program sources. When I used the paths suggested here, it worked fine. I also tried ''GTranslator'' with the same result. I would have tried the new KBabel - ''Lokalize'' - too, but [http://bugs.kde.org/show_bug.cgi?id=244686 it can not show the program source right now]. -- Ticket URL: <http://code.djangoproject.com/ticket/13936#comment:6> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.