#31495: Documentation issue: The Django admin L10N behavior described in tutorial02 does not match the actual context -------------------------------------+------------------------------------- Reporter: ynyyn | Owner: nobody Type: | Status: new Uncategorized | Component: | Version: 3.0 Documentation | Keywords: documentation, Severity: Normal | tutorial Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- The tutorial is really great and comprehensive, and I followed it step by step from start to here, https://docs.djangoproject.com/en/3.0/intro/tutorial02/#start-the- development-server
In ''start-the-development-server'' section, it is said: > Since translation is turned on by default, the (admin) login screen may be displayed in your own language, depending on your browser’s settings and if Django has a translation for this language. My locale language is not English, but the Django Admin did not recognize this thing, and still displayed in English instead of my preferred language, which is not consistent with what the tutorial said. It seems that automatic localization with user language preference needs middleware 'django.middleware.locale.LocaleMiddleware', but neither the new project template nor the tutorial has configured or mentioned it before. This mismatch behavior made me confused for a little while. It might be better to make a revision about it. -- Ticket URL: <https://code.djangoproject.com/ticket/31495> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/048.b34112c058c0ffaa7e49670e428482e3%40djangoproject.com.