Code

Opened 5 years ago

Closed 4 years ago

#10270 closed (wontfix)

module dependency checks of syncdb are not translatable nor catchable

Reported by: Alper KANAT <alperkanat@…> Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'm trying to inform the user about import errors such as the module dependency checks of syncdb.. The messages are in English and not translatable.. I guess it'd be better if they also had support for gettext.. I tried catching the exception but all I get is django.core.exceptions.ImproperlyConfigured which I can't differ if it's a MySQLdb import error or some other dependency..

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Sounds good, patches welcome :)

PS: If/when you upload it, consider changing the value of the Component ticket field to Internationalization.

comment:2 Changed 5 years ago by jacob

  • Component changed from Core framework to Internationalization
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 5 years ago by mtredinnick

  • Triage Stage changed from Accepted to Design decision needed

You'll need to justify this a lot more. Module dependency check error messages are targeted at hte developer, not the end-users. We translate messages that are seen by end-users, but not by people writing the code (it would add an enormous number of strings to the translation burden for everybody).

Why are end users (as opposed to developers) seeing syncdb output?

comment:4 Changed 4 years ago by ramiro

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

Closing wontfix as eleven months have passed without the OP answering the question Malcolm posted.

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.