summaryrefslogtreecommitdiff
path: root/docs/narr/i18n.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-08 02:18:51 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-08 02:18:51 -0700
commit88c92b8f01ace15b57550cec2ab5c9127667f300 (patch)
treef50cdd0462d9ae9d000a1c5beede961e3f7b1a29 /docs/narr/i18n.rst
parenta9cdf5be43d9dd915f8611f540e2f839c2e8d6a0 (diff)
downloadpyramid-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.rst15
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