#17509: Project-level locale directory is not found when project is in a nested
module
-------------------------------------+-------------------------------------
Reporter: anonymous | Owner: nobody
Type: Bug | Status: new
Component: | Version: 1.3
Internationalization | Resolution:
Severity: Normal | Triage Stage: Design
Keywords: | decision needed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ramiro):
* needs_docs: => 0
* stage: Unreviewed => Design decision needed
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
(See also
https://code.djangoproject.com/browser/django/tags/releases/1.3.1/django/utils/translation/trans_real.py#L116)
That's precisely the reason why deprecatd the project-level locale
directory concept in 1.3. See
https://docs.djangoproject.com/en/1.3/releases/1.3/#loading-of-project-
level-translations
I don't think it would be worth fixing this for Django > 1.3 since we are
going to remove this support completely in Django 1.5 (or more precisely,
Django 1.3 + 2) and, as per our backports policy, an hypothetical fix
wouldn't ever reach 1.3.x (the version the OP is using).
Suggestion for the OP: Stop using the project-level locale and swtich to
lisitng thedirectory in LOCALE_PATHS as you've already discovered.
Setting ''design decision needed'' to get more opinions.
--
Ticket URL: <https://code.djangoproject.com/ticket/17509#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.