I got rid of the LocaleMiddleware.
To translate the frontend of the application I'm using
http://bitbucket.org/carljm/django-localeurl/overview
It seems the best solution for me.
On Nov 18, 1:29 pm, Federico Capoano wrote:
> Thanks
>
> On Nov 16, 11:19 am, Tom Evans wrote:
>
>
>
>
>
>
>
> >
Thanks
On Nov 16, 11:19 am, Tom Evans wrote:
> On Tue, Nov 16, 2010 at 9:58 AM, Federico Capoano
>
> wrote:
> > This will affect the frontend too?
>
> Yes, I'd replace it with a customized version of the LocaleMiddleware,
> something like this ought to do the trick:
>
> from django.middleware.lo
On Tue, Nov 16, 2010 at 9:58 AM, Federico Capoano
wrote:
> This will affect the frontend too?
>
Yes, I'd replace it with a customized version of the LocaleMiddleware,
something like this ought to do the trick:
from django.middleware.locale import LocaleMiddleware
from django.utils import transla
This will affect the frontend too?
On Nov 16, 4:57 am, someLiang wrote:
> just make it seems like this:
>
> MIDDLEWARE_CLASSES = (
> 'django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> #'django.middleware.locale.LocaleMiddleware',
just make it seems like this:
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
#'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.A
perhaps you need to comment the statement in your setting.py
'django.middleware.locale.LocaleMiddleware',
2010/11/15 Federico Capoano
> Hi guys,
>
> i'm developing an app in 3 languages, en, es and it.
>
> My browser accepts all of them with priority to italian.
>
> Since I've done that the a
Hi guys,
i'm developing an app in 3 languages, en, es and it.
My browser accepts all of them with priority to italian.
Since I've done that the admin started to show up in italian. How can
I force it back to english?
In the setting I put
LANGUAGE_CODE = 'en-gb'
--
You received this message b
7 matches
Mail list logo