Re: makemessages fails

2020-02-13 Thread Yves de Champlain
Actually, while django-admin makemessages -l fr fails, python manage.py makemessages -l fr works well, so the problem really is the custom /config/settings/common.py settings file that need the DJANGO_SETTINGS_MODULE

Re: makemessages fails

2020-02-13 Thread maninder singh Kumar
Is the app installed in settings.py Sent from my iPad > On 13-Feb-2020, at 10:49 AM, Yash Garg wrote: > > Go through i18n official documentation and specify path according to that. > >> On Thu 13 Feb, 2020, 10:25 AM Yves de Champlain, wrote: >> Hi >> >> I have >> >> ROOT_DIR = environ.Path(

Re: makemessages fails

2020-02-12 Thread Yash Garg
Go through i18n official documentation and specify path according to that. On Thu 13 Feb, 2020, 10:25 AM Yves de Champlain, wrote: > Hi > > I have > > ROOT_DIR = environ.Path(__file__) - 3 # > (base_dir/config/settings/common.py - 3 = base_dir/) > PROJ_DIR = ROOT_DIR > > LOCALE_PATHS = [ >

Re: makemessages fails

2020-02-12 Thread Yves de Champlain
Hi I have ROOT_DIR = environ.Path(__file__) - 3 # (base_dir/config/settings/common.py - 3 = base_dir/) PROJ_DIR = ROOT_DIR LOCALE_PATHS = [ PROJ_DIR('locale'), ] Could it be the source of the problem ? Thanks ! Le mercredi 12 février 2020 12:53:06 UTC-5, Yash Garg a écrit : > > Have y

Re: makemessages fails

2020-02-12 Thread Yash Garg
Have you specified path to Locale directory in settings.py? On Wednesday, February 12, 2020 at 7:51:53 PM UTC+5:30, Yves de Champlain wrote: > > Hi > > When I run > > django-admin makemessages -l fr > > I get > > Traceback (most recent call last): > > File > "/opt/miniconda3/envs/cert_tool/l

makemessages fails

2020-02-12 Thread Yves de Champlain
Hi When I run django-admin makemessages -l fr I get Traceback (most recent call last): File "/opt/miniconda3/envs/cert_tool/lib/python3.7/site-packages/django/core/management/base.py" , line 323, in run_from_argv self.execute(*args, **cmd_options) File "/opt/miniconda3/envs/cert_to