You could write a middleware after language middleware than check if it is
a admin URL and change the language to English.

https://docs.djangoproject.com/en/1.9/topics/http/middleware/

https://docs.djangoproject.com/es/1.9/topics/i18n/translation/


El viernes, 26 de febrero de 2016, Will Harris <[email protected]>
escribió:
> Hi Paul,
> If you want the admin site to behave differently than the main site, you
could consider running two instances, one with the i18n activated for the
main site, and one for admin users with it disabled. In production, from a
security standpoint, it's a good idea to have the admin site running with
different settings/access in any case.
> Will
>
> On Thursday, February 25, 2016 at 2:37:54 PM UTC+1, Paul Z wrote:
>>
>>          Hi,
>>
>> I'm new to django, I try to set up a site that can select language
automatically.
>> So, I set as below:
>>
>> LANGUAGE_CODE = 'en'
>>
>> TIME_ZONE = 'UTC'
>>
>> USE_I18N = True
>>
>> USE_L10N = False
>>
>> USE_TZ = False
>>
>> For now, It can select language automatically, But, The question is:
>>
>> I don't want to it select language in Django Admin Interface, I want to
it always display in English.
>>
>> So, How to?
>>
>> Thanks
>> Paul Z
>>
>>



>
> --
> You received this message because you are subscribed to the Google Groups
"Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/b612e437-c093-4c06-b7ec-e53244402b2d%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyNpEXRET5xHsabr_56RMH%3DL%2BaqtzLuh4zfn2whFf_5oYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to