In my settings.py file I have:
LANGUAGE_CODE = 'ru-RU'
also, I have installed and working django-admin-tools. But admin language still english. What I’m doing wrong?
PS.
$ cat settings.py | grep USE | grep -v USER
USE_I18N = True
USE_L10N = True
USE_TZ = True
You need to set the language specifically for the admin app. Since django does not provide a language drop down as part of the default login, you have a few options:
Login to your normal (non admin view), with superuser/staff credentials and the correct language, then shift over to the admin URL.
Update the admin templates and add a language dropdown see this snippet.
Create some custom middleware to set the language for admin:
Add it to your
MIDDLEWARE_CLASSESSet the language you want for the admin in
settings.py: