#10765: Problem with translations when the settings module is a folder
---------------------------------------------+------------------------------
Reporter: vbmendes | Owner: nobody
Status: new | Milestone:
Component: Internationalization | Version: 1.0
Resolution: | Keywords: translation
settings project path
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by mtredinnick):
* has_patch: 1 => 0
* stage: Unreviewed => Design decision needed
Comment:
This patch isn't a very nice way to go about this. Hardcoding things like
the string `__init__.py` looks ugly and a bit fragile. The comments are
also a bit uncertain (and we shouldn't be using words like "folder" in
comments when there are more accurate Python terms). "Project level" stuff
is always a bit tricky in Django, so maybe it's something that simply
doesn't work if you aren't using a simple module for settings.
There should be a better solution here with respect to specifying a non-
app translation directory. This patch isn't it, but the problem is
possibly valid.
--
Ticket URL: <http://code.djangoproject.com/ticket/10765#comment:3>
Django <http://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
-~----------~----~----~----~------~----~------~--~---