mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Typos introduced in 297f5af222
.
This commit is contained in:
parent
b0ce6fe656
commit
57c82f909b
2 changed files with 7 additions and 7 deletions
|
@ -1550,15 +1550,15 @@ should be used -- installation-wide, for a particular user, or both.
|
|||
|
||||
To set an installation-wide language preference, set :setting:`LANGUAGE_CODE`.
|
||||
Django uses this language as the default translation -- the final attempt if no
|
||||
better matching translation is found by one of the methods employed by the
|
||||
better matching translation is found through one of the methods employed by the
|
||||
locale middleware (see below).
|
||||
|
||||
If all you want to do is run Django with your native language all you need to do
|
||||
If all you want is to run Django with your native language all you need to do
|
||||
is set :setting:`LANGUAGE_CODE` and make sure the corresponding :term:`message
|
||||
files <message file>` and their compiled versions (``.mo``) exist.
|
||||
|
||||
If you want to let each individual user specify which language he or she
|
||||
prefers, the you also need to use use the ``LocaleMiddleware``.
|
||||
prefers, then you also need to use use the ``LocaleMiddleware``.
|
||||
``LocaleMiddleware`` enables language selection based on data from the request.
|
||||
It customizes content for each user.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue