#29074: makemessages duplicates .po file headers when fed with empty strings
-------------------------------------+-------------------------------------
     Reporter:  instantname          |                    Owner:  Manthan
                                     |  Sharma
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Management     |                  Version:  1.11
  commands)                          |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  i18n                 |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 `gettext` does not like when one tries to translate the empty string, as
 it has a special meaning in the PO file format. See #23196 for another
 case where we had to workaround a similar issue.

 In this case, the header duplication is produced by `msgmerge` itself. I'm
 of the opinion that we should consider translating an empty string as an
 unsupported functionality of the underlying `gettext` library.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29074#comment:4>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.0cf7300d434605ff86f3a8f286879336%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to