diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-08 02:18:51 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-08 02:18:51 -0700 |
| commit | 88c92b8f01ace15b57550cec2ab5c9127667f300 (patch) | |
| tree | f50cdd0462d9ae9d000a1c5beede961e3f7b1a29 /docs/narr/i18n.rst | |
| parent | a9cdf5be43d9dd915f8611f540e2f839c2e8d6a0 (diff) | |
| download | pyramid-88c92b8f01ace15b57550cec2ab5c9127667f300.tar.gz pyramid-88c92b8f01ace15b57550cec2ab5c9127667f300.tar.bz2 pyramid-88c92b8f01ace15b57550cec2ab5c9127667f300.zip | |
Add pyramid_jinja2 example to i18n docs. Fixes #2437.
Diffstat (limited to 'docs/narr/i18n.rst')
| -rw-r--r-- | docs/narr/i18n.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index 839a48df4..b385eaf96 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -670,6 +670,21 @@ There exists a recipe within the :term:`Pyramid Community Cookbook` named :ref:`Mako Internationalization <cookbook:mako_i18n>` which explains how to add idiomatic i18n support to :term:`Mako` templates. + +.. index:: + single: Jinja2 i18n + +Jinja2 Pyramid i18n Support +--------------------------- + +The add-on `pyramid_jinja2 <https://github.com/Pylons/pyramid_jinja2>`_ +provides a scaffold with an example of how to use internationalization with +Jinja2 in Pyramid. See the documentation sections `Internalization (i18n) +<http://docs.pylonsproject.org/projects/pyramid-jinja2/en/latest/#internalization-i18n>`_ +and `Paster Template I18N +<http://docs.pylonsproject.org/projects/pyramid-jinja2/en/latest/#paster-template-i18n>`_. + + .. index:: single: localization deployment settings single: default_locale_name |
