#28773: manage.py makemessages throws syntax error due to incorrectly generated
django.pot
-------------------------------------+-------------------------------------
     Reporter:  Hendy Irawan         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:                       |                  Version:  1.11
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:  gettext,             |             Triage Stage:
  makemessages, Windows              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hendy Irawan):

 Replying to [comment:5 Claude Paroz]:
 > Many thanks for the sample project. I tested it on my Debian box with
 the same 0.19.8.1 version of gettext. I was not able to reproduce the bug.
 I'm getting that instead of what you get:
 > {{{
 > #: edu/templates/edu/home.html:69
 edu/templates/edu/music_country.html:34
 > #, python-format
 > }}}
 > If this is a Windows-related bug, I'm sorry but I can't help. It remains
 to be seen if it is a "Django on Windows" error or a "gettext on Windows"
 error.

 Thanks for the (negative) confirmation.

 Note that adding "--no-location" works as advertised, and is probably
 "least evil" workaround, compared to manually adding messages.

 Since adding the location in controlled by Django, it's probably a "django
 on windows" bug? I'd like to diagnose more, but I could use some help in
 what exactly happens... or specifically, who creates the django.pot file?
 (I assume the django.pot file is written before language-specific
 django.po files get (re)created, so I'll start there)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28773#comment:6>
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/065.d8c4566e23da83d6ad171cbf4fb179ad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to