diff --git a/django/utils/translation/__init__.py b/django/utils/translation/__init__.py
index e44b556..a1c8995 100644
a
|
b
|
class Trans(object):
|
46 | 46 | import warnings |
47 | 47 | parts = settings.SETTINGS_MODULE.split('.') |
48 | 48 | project = import_module(parts[0]) |
49 | | if path.isdir(path.join(path.dirname(project.__file__), 'locale')): |
| 49 | project_locale_path = path.normpath(path.join(path.dirname(project.__file__), 'locale')) |
| 50 | if path.isdir(project_locale_path) and not project_locale_path in settings.LOCALE_PATHS: |
50 | 51 | warnings.warn( |
51 | 52 | "Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.", |
52 | 53 | PendingDeprecationWarning |