hello all,
i'm using Django 1.4 LTS, and try to add localisation to my project.
According the doc:
https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#localization-how-to-create-language-files
i have to do:
django-admin.py makemessages --all
i did it and have the error:
django-admin.py makemessages -v 3 --traceback --all
--settings=agenda.settings
...
ImportError: Could not import settings 'agenda.settings' (Is it on
sys.path?): No module named agenda.settings
but it exists:
$ python manage.py shell
Python 2.7.8 (default, Oct 19 2014, 16:03:53)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from agenda.settings import *
>>>
Anybody can help? Thanks in advance,
--
Gérard Henry