Opened 12 years ago

Closed 12 years ago

#18547 closed Cleanup/optimization (fixed)

Django-admin.py makemessages should show a specific error message if the user hasn't installed gettext (e. g. on windows)

Reported by: anonymous Owned by: nobody
Component: Internationalization Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

According to the documentation the GNU gettext utilities are necessary for django-admin.py makemessages. But the first time I used it, it did not know this. The command line only shows that the command "xgettext" was not found. But a more specific message like "xgettext not found. You need to install ..." would be nice. Thanks.

Attachments (1)

18547.diff (852 bytes ) - added by Claude Paroz 12 years ago.
Catch when xgettext is not found

Download all attachments as: .zip

Change History (3)

comment:1 by Claude Paroz, 12 years ago

Component: TranslationsInternationalization
Triage Stage: UnreviewedAccepted

by Claude Paroz, 12 years ago

Attachment: 18547.diff added

Catch when xgettext is not found

comment:2 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: newclosed

In [8184aff2b0a3fbe6759163c0289f640a393a3e99]:

Fixed #18547 -- Improved error message when gettext is missing

Note: See TracTickets for help on using tickets.
Back to Top