diff options
| author | Christopher Lambacher <chris@kateandchris.net> | 2011-02-12 17:27:59 -0500 |
|---|---|---|
| committer | Christopher Lambacher <chris@kateandchris.net> | 2011-02-12 17:30:15 -0500 |
| commit | 86bbe8bddb1a0e62e7cd811cf2df0d57d72827dc (patch) | |
| tree | 3bf851674726a8530c75d00944e133f5ca25cbcc /docs/narr/i18n.rst | |
| parent | b64e90dedd6c469a501ba93f6360ff9ba7a8ef57 (diff) | |
| download | pyramid-86bbe8bddb1a0e62e7cd811cf2df0d57d72827dc.tar.gz pyramid-86bbe8bddb1a0e62e7cd811cf2df0d57d72827dc.tar.bz2 pyramid-86bbe8bddb1a0e62e7cd811cf2df0d57d72827dc.zip | |
Add make_localizer function & docs & tests
Diffstat (limited to 'docs/narr/i18n.rst')
| -rw-r--r-- | docs/narr/i18n.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
