Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wrong language in django admin

Why is django.contrib.admin in English even though I set LANGUAGE_CODE = 'pl' in the settings?

LANGUAGE_CODE = 'pl'

TIME_ZONE = 'Europe/Warsaw'

USE_I18N = True

USE_L10N = True

USE_TZ = False

LANGUAGES = (
    ('en', _('English')),
    ('pl', _('Polish')),
)

Deleting ('en', _('English')), from LANGUAGES helps but I need it from django-rosetta.

Thank you.

like image 793
aabb Avatar asked Dec 06 '25 21:12

aabb


1 Answers

Simply add this in your settings file.I tested it and works fine.

 LANGUAGE_CODE = 'pl'

When user logged in django admin needs it shows polish by default.Some words are shown in english. Still problem is not solved share the screen shot of the django admin.

like image 175
chandu Avatar answered Dec 08 '25 14:12

chandu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!