Opened 16 years ago

Closed 16 years ago

#9927 closed (duplicate)

views.i18n.javascript_catalog: Locale folder can be in project root, line removed to make this possible.

Reported by: dnordberg Owned by: nobody
Component: Internationalization Version: 1.0
Severity: Keywords: javascript_catalog
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If the locale folder exists in the project root, this line packages = [p for p in packages if p == 'django.conf' or p in settings.INSTALLED_APPS] causes them to be ignored when creating the javascript i18n translation catalog.

Attachments (2)

js_catalog_locale_can_be_in_project_root (546 bytes ) - added by dnordberg@… 16 years ago.
simple fix, removes one line
js_catalog_locale_can_be_in_project_root.diff (896 bytes ) - added by anon 16 years ago.
second try

Download all attachments as: .zip

Change History (4)

by dnordberg@…, 16 years ago

simple fix, removes one line

comment:1 by dnordberg, 16 years ago

To test, without the fix, if you have your djangojs localization files in project/locale not project/app/locale, they wont be picked up in the translation catalog.

by anon, 16 years ago

second try

comment:2 by oggy, 16 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #5494

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