summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-08 02:23:17 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-08 02:23:17 -0700
commitef38dee074c0d7646c0d085fe7d4fd9473157954 (patch)
treeaa155b9513f5c541dd655b815603e0fcde3764ba /docs
parentd9f9d88fa6521762b357c84f2df084215ae618a0 (diff)
parent88c92b8f01ace15b57550cec2ab5c9127667f300 (diff)
downloadpyramid-ef38dee074c0d7646c0d085fe7d4fd9473157954.tar.gz
pyramid-ef38dee074c0d7646c0d085fe7d4fd9473157954.tar.bz2
pyramid-ef38dee074c0d7646c0d085fe7d4fd9473157954.zip
Merge pull request #2439 from stevepiercy/master
Add pyramid_jinja2 example to i18n docs. Fixes #2437.
Diffstat (limited to 'docs')
-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