Hey Marc, On Sun, 2007-05-20 at 18:02 +0200, Marc Fargas Esteve wrote: > Hi Malcolm, > The lines that start with: > #, python-format > Need to be maintained? I normally delete all 'fuzzy' and > 'python-format' when I check something to avoid checking it twice.
You should delete the "fuzzy" attribute when you have checked the translation is still accurate or updated it. You should never remove the "python-format" attribute, because that is what xgettext uses to check for errors in format strings. That attribute is put against every msgid that has a "%(xyz)s" or "%s" format string in it. Gettext needs to know if it is a Python format string or a C format string or Lisp format string or whatever. If you inadvertently remove the python-format marker, it will be put back the next time you run make-messages.py anyway, so it's not a complete disaster, but it will prevent some errors from being caught. For people wondering about the details of all the formatting notes in PO files, have a look at http://www.gnu.org/software/gettext/manual/html_node/gettext_9.html#PO-Files . That has a reasonable explanation, although you need to have a bit of a clear head to read through the gettext manual, I've always found. Best wishes, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django I18N" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Django-I18N?hl=en -~----------~----~----~----~------~----~------~--~---
