Opened 17 years ago
Closed 17 years ago
#5853 closed (fixed)
javascript_catalog i18n view requires english .mo file
Reported by: | miracle2k | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Django's javascript_catalog view requires a djangojs catalog for the default language "en" for each application installed. This is inconsistent with the requirements for other i18n functionality, and also seems unnecessary, as it basically equates to "don't do any translation".
The attached patch will still attempt to load an english djangojs.mo file, but moves an if that fails.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | views.i18n_no_en_required.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In future, please create patches from the root of the Django source tree. It makes it much easier to review and apply them (there are three files called i18n.py in the source tree, for example). In this case, I know which file you are patching, so it's okay, so this is just for next time.