﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17509	Project-level locale directory is not found when project is in a nested module	anonymous	nobody	"We have a Django project in a nested module structure, it looks something like this:
  company.app.something.django_project

So our project-level locale is in 
  company/app/something/django_project/locale/
And settings.py is:
  company/app/something/django_project/settings.py

The documentation states:
From: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-translations
  3. Then, it looks for a locale directory in the project directory, or more accurately, in the directory containing your settings file.

But the code takes the first level of the module structure:
See: https://code.djangoproject.com/browser/django/tags/releases/1.3.1/django/utils/translation/__init__.py#L48

Therefore the locale directory is being looked for here:
   company/locale/

There is a workaround in that the path can be explicitly set in settings.LOCALE_PATHS.
"	Bug	closed	Internationalization	1.3	Normal	wontfix			Design decision needed	0	0	0	0	0	0
