Re: i18N with templates in separate directory

2008-09-10 Thread timc3
Never really looked in manage.py but I did after my question, I see it just hooks in to django and doesn't really do much itself - so it doesn't need upgrading. I got fed up of trying to get this to work so I moved my templates directory so I have the following structure. code/ -mysite/ --mysite

Re: i18N with templates in separate directory

2008-09-09 Thread timc3
> Shouldn't you run it from the mysite/ directory? Even further, now that I think > about it, you should can simplify things by simply manually > creating the mysite/locale directory  and then doing > > mysite $ python manage.py makemesages -l se > > (just tested it and it works) It works for me

Re: i18N with templates in separate directory

2008-09-08 Thread Ramiro Morales
On Mon, Sep 8, 2008 at 12:53 PM, timc3 <[EMAIL PROTECTED]> wrote: > >> I'd say that for being able to scan you project's locale/ subdir >> (althouth this isn´t obvious from the docs) and the dirs listed in >> LOCALE_PATHS you need specify the Python module path of >> your settings file with the --

Re: i18N with templates in separate directory

2008-09-08 Thread timc3
> I'd say that for being able to scan you project's locale/ subdir > (althouth this isn´t obvious from the docs) and the dirs listed in > LOCALE_PATHS you need specify the Python module path of > your settings file with the --settings command line switch > as explained in: > > http://docs.djangopr

Re: i18N with templates in separate directory

2008-09-07 Thread Ramiro Morales
On Sun, Sep 7, 2008 at 6:27 PM, timc3 <[EMAIL PROTECTED]> wrote: > > Hi there, > > I have the following directory structions > > code/ > -mysite/ > --mysiteapp1/ > --mysiteapp2/ > --locale/ > --settings.py > --manage.py > -mysitetemplates > -mysitestaticmedia > > Now when I run django-admin.py mak

i18N with templates in separate directory

2008-09-07 Thread timc3
Hi there, I have the following directory structions code/ -mysite/ --mysiteapp1/ --mysiteapp2/ --locale/ --settings.py --manage.py -mysitetemplates -mysitestaticmedia Now when I run django-admin.py makemessages -l se from within mysite/ I get a django.po file created but its only for the text t