summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-02-13 11:42:40 -0500
committerChris McDonough <chrism@plope.com>2011-02-13 11:42:40 -0500
commit4a221e9845190651107d38a2195d43be9ee9281e (patch)
tree42e05124994329fbabac4ef9f8d0a35836ce7461 /docs
parent296ee25ffb1405b7a5a12caf62fe5b1ed2aaed7b (diff)
parent86bbe8bddb1a0e62e7cd811cf2df0d57d72827dc (diff)
downloadpyramid-4a221e9845190651107d38a2195d43be9ee9281e.tar.gz
pyramid-4a221e9845190651107d38a2195d43be9ee9281e.tar.bz2
pyramid-4a221e9845190651107d38a2195d43be9ee9281e.zip
Merge branch 'master' of https://github.com/lambacck/pyramid into lambacck-master
Diffstat (limited to 'docs')
-rw-r--r--docs/api/i18n.rst2
-rw-r--r--docs/narr/i18n.rst3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/api/i18n.rst b/docs/api/i18n.rst
index 0c2f8b86e..53e8c8a9b 100644
--- a/docs/api/i18n.rst
+++ b/docs/api/i18n.rst
@@ -24,6 +24,8 @@
.. autofunction:: default_locale_negotiator
+ .. autofunction:: make_localizer
+
See :ref:`i18n_chapter` for more information about using
:app:`Pyramid` internationalization and localization services within
an application.
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst
index e7a4f61c0..218b7a2b4 100644
--- a/docs/narr/i18n.rst
+++ b/docs/narr/i18n.rst
@@ -508,6 +508,9 @@ negotiator is registered.
def aview(request):
locale = get_localizer(request)
+.. note:: If you need to create a localizer for a locale use the
+ :func:`pyramid.i18n.make_localizer` function.
+
.. index::
single: translating (i18n)