Re: Set Language in the Admin

2010-11-23 Thread Federico Capoano
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: > > > > > > > > >

Re: Set Language in the Admin

2010-11-18 Thread Federico Capoano
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

Re: Set Language in the Admin

2010-11-16 Thread Tom Evans
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

Re: Set Language in the Admin

2010-11-16 Thread Federico Capoano
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',

Re: Set Language in the Admin

2010-11-15 Thread someLiang
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

Re: Set Language in the Admin

2010-11-15 Thread someLiang
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

Set Language in the Admin

2010-11-14 Thread 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 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