Code

#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 claudep 22 months ago.
Catch when xgettext is not found

Download all attachments as: .zip

Change History (3)

comment:1 Changed 22 months ago by claudep

  • Component changed from Translations to Internationalization
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 22 months ago by claudep

Catch when xgettext is not found

comment:2 Changed 22 months ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from new to closed

In [8184aff2b0a3fbe6759163c0289f640a393a3e99]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.