|Reported by:||Robby Dermody||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Back again. I found what seems to be a bit of a design inconsistency.
According to this link, the locale dir can be in the Django project directory (instead of being in a specific django app directory). That's all fine and good, and that's how we do it now.
Moreover, the docs state:
This lead me to believe that translations under the project dir would work fine. So I began using the jsi18n view in our project, as:
packages = [p for p in packages if p == 'django.conf' or p in settings.INSTALLED_APPS]
As I want to use locales under the project dir, that is not put into INSTALLED_APPS, as it's not a django app (obviously). So unless I am totally missing something here, this view needs to be enhanced to not filter out (in addition to INSTALLED_APPS):
- The root project directory
- Possibly any path specified in settings.LOCALE_PATHS
Change History (5)
comment:3 Changed 8 years ago by
|milestone:||→ 1.0 maybe|
|Triage Stage:||Unreviewed → Design decision needed|