diff options
| author | Chris McDonough <chrism@plope.com> | 2011-02-13 11:44:59 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-02-13 11:44:59 -0500 |
| commit | 0ce5a3dedf846df20b44ae559b36407093e79805 (patch) | |
| tree | d5143692c12e0bda771222642f9f607d17e54753 /docs | |
| parent | 296ee25ffb1405b7a5a12caf62fe5b1ed2aaed7b (diff) | |
| parent | 2242e6f858de86cedb943091c91ae78b4de6eb5e (diff) | |
| download | pyramid-0ce5a3dedf846df20b44ae559b36407093e79805.tar.gz pyramid-0ce5a3dedf846df20b44ae559b36407093e79805.tar.bz2 pyramid-0ce5a3dedf846df20b44ae559b36407093e79805.zip | |
Merge branch 'lambacck-master'
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/i18n.rst | 2 | ||||
| -rw-r--r-- | docs/narr/i18n.rst | 3 |
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) |
