summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-08-22 12:14:56 -0300
committerRamiro Morales <cramm0@gmail.com>2013-08-22 22:33:59 -0300
commit2a166623a63b27a2b6c5c9d0f46bd726ee4e82fb (patch)
treef5d26430659568b1f6e1a2112a05328fbc15c790 /docs
parent5f061986b9903b335e4bfe41cf172d710604d5cb (diff)
[1.6.x] Typos introduced in 57c82f909b.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt8
-rw-r--r--docs/topics/i18n/translation.txt6
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index a137b229dc..e47e8708b0 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1258,18 +1258,18 @@ LANGUAGE_CODE
Default: ``'en-us'``
A string representing the language code for this installation. This should be in
-standard :term:`language ID format <language code>`. For example, U.S. English
+standard :term:`language ID format <language code>`. For example, U.S. English
is ``"en-us"``. See also the `list of language identifiers`_ and
:doc:`/topics/i18n/index`.
-:setting:`USE_I18N` must be active to this setting to have any effect.
+:setting:`USE_I18N` must be active for this setting to have any effect.
-it serves two purposes:
+It serves two purposes:
* If the locale middleware isn't in use, it decides which translation is served
to all users.
* If the locale middleware is active, it provides the fallback translation when
- no translation exist for a given literal to the user preferred language.
+ no translation exist for a given literal to the user's preferred language.
See :ref:`how-django-discovers-language-preference` for more details.
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index 4052b50b07..a4303ac25f 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -1552,15 +1552,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.