[Django] #31495: Documentation issue: The Django admin L10N behavior described in tutorial02 does not match the actual context

14 views
Skip to first unread message

Django

unread,
Apr 21, 2020, 10:48:34 AM4/21/20
to django-...@googlegroups.com
#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.

Django

unread,
Apr 21, 2020, 11:35:00 AM4/21/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage:
tutorial | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ynyyn):

* easy: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:1>

Django

unread,
Apr 21, 2020, 1:17:26 PM4/21/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Uncategorized | Status: assigned

Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage:
tutorial | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Omkar Kulkarni):

* owner: nobody => Omkar Kulkarni
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:2>

Django

unread,
Apr 21, 2020, 1:30:08 PM4/21/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Bug | Status: assigned

Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage: Accepted
tutorial |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Omkar Kulkarni):

* type: Uncategorized => Bug
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:3>

Django

unread,
May 5, 2020, 10:09:48 AM5/5/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Bug | Status: assigned
Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage: Accepted
tutorial |
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Omkar Kulkarni):

* has_patch: 0 => 1


Comment:

PR: https://github.com/django/django/pull/12861

--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:4>

Django

unread,
May 6, 2020, 8:23:29 AM5/6/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Bug | Status: assigned
Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: documentation, | Triage Stage: Ready for
tutorial | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:5>

Django

unread,
May 6, 2020, 10:19:37 AM5/6/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Bug | Status: closed
Component: Documentation | Version: 3.0
Severity: Normal | Resolution: fixed

Keywords: documentation, | Triage Stage: Ready for
tutorial | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"b7f1c0d86d72df51aa2e25da79d99074b751c7e1" b7f1c0d8]:
{{{
#!CommitTicketReference repository=""
revision="b7f1c0d86d72df51aa2e25da79d99074b751c7e1"
Fixed #31495 - Corrected note about admin i18n in tutorial.

Thanks to Adam Johnson and Claude Paroz for review.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:6>

Django

unread,
May 6, 2020, 11:39:24 AM5/6/20
to django-...@googlegroups.com
#31495: Documentation issue: The Django admin L10N behavior described in tutorial02
does not match the actual context
-------------------------------------+-------------------------------------
Reporter: ynyyn | Owner: Omkar
| Kulkarni
Type: Bug | Status: closed
Component: Documentation | Version: 3.0
Severity: Normal | Resolution: fixed
Keywords: documentation, | Triage Stage: Ready for
tutorial | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

In [changeset:"16bdb6b7baf884fad6885db18be78a69a55317a5" 16bdb6b7]:
{{{
#!CommitTicketReference repository=""
revision="16bdb6b7baf884fad6885db18be78a69a55317a5"
[3.0.x] Fixed #31495 - Corrected note about admin i18n in tutorial.

Thanks to Adam Johnson and Claude Paroz for review.

Backport of b7f1c0d86d72df51aa2e25da79d99074b751c7e1 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31495#comment:7>

Reply all
Reply to author
Forward
0 new messages