summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/i18n.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyramid/i18n.py b/pyramid/i18n.py
index cdedbc877..6ffd93e8f 100644
--- a/pyramid/i18n.py
+++ b/pyramid/i18n.py
@@ -107,7 +107,8 @@ def default_locale_negotiator(request):
- First, the negotiator looks for the ``_LOCALE_`` attribute of
the request object (possibly set by a view or a listener for an
- :term:`event`).
+ :term:`event`). If the attribute exists and it is not ``None``,
+ its value will be used.
- Then it looks for the ``request.params['_LOCALE_']`` value.