i18n documentation: middleware not mentioned until very late
In the documentation for i18n/l10n there is no mention of adding the 'django.middleware.locale.LocaleMiddleware' to the MIDDLEWARE_CLASSES setting until the third (and last) step of the documentation (https://docs.djangoproject.com/en/dev/topics/i18n/deployment/).
This is a little confusing for developers like me who like to jump right into things as soon as they have read the first part of the documentation (I do realize this may not be the best approach but believe me, I'm not the only one who does this). I think adding a small paragraph at the beginning of the i18n documentation (https://docs.djangoproject.com/en/dev/topics/i18n/translation/) about what is needed to get everything working would be beneficial.
Change History
(8)
Component: |
Uncategorized → Documentation
|
Type: |
Uncategorized → Cleanup/optimization
|
Triage Stage: |
Unreviewed → Accepted
|
Has patch: |
set
|
Owner: |
changed from nobody to Christopher Medrela
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
This problem is a consequence of the recent refactoring of the i18n docs.