diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-27 09:28:50 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-27 09:28:50 -0700 |
| commit | 6f7b6c0221f8c120a22b630eea26905744d2b6b4 (patch) | |
| tree | 6c8e1ae3affba81ec0c26eb183c4f424b577a1d5 /docs/narr/i18n.rst | |
| parent | 6d0ff23fc3094f3f40d93d020bbc80ecdfceb825 (diff) | |
| parent | e8db031e8cd22affb65254539ae210f64d37f36e (diff) | |
| download | pyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.tar.gz pyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.tar.bz2 pyramid-6f7b6c0221f8c120a22b630eea26905744d2b6b4.zip | |
Merge https://github.com/Pylons/pyramid
Diffstat (limited to 'docs/narr/i18n.rst')
| -rw-r--r-- | docs/narr/i18n.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index d8cc5cb1c..c2a5b8ce7 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -881,11 +881,8 @@ application startup. For example: :linenos: from pyramid.config import Configurator - config.begin() config.add_translation_dirs('my.application:locale/', 'another.application:locale/') - # ... - config.end() A message catalog in a translation directory added via :meth:`pyramid.config.Configurator.add_translation_dirs` @@ -1020,9 +1017,7 @@ For example: from pyramid.config import Configurator config = Configurator() - config.begin() config.set_locale_negotiator(my_locale_negotiator) - config.end() .. note:: You can also add a custom locale negotiator via ZCML. See :ref:`zcml_adding_a_locale_negotiator` |
