summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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)