Opened 17 years ago
Closed 17 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)
Change History (4)
by , 17 years ago
| Attachment: | js_catalog_locale_can_be_in_project_root added |
|---|
comment:1 by , 17 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.
comment:2 by , 17 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
This is a duplicate of #5494
Note:
See TracTickets
for help on using tickets.
simple fix, removes one line