From 8799873565b578f1d70210bb2a2149c6ce247482 Mon Sep 17 00:00:00 2001 From: Mandaris Date: Wed, 15 Nov 2017 06:03:43 -0800 Subject: [PATCH] Give information on how to set up in pelican MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugin calls for the extension for the command “gettext” and doesn’t write the text without it. --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index 12e113d..340109b 100644 --- a/README.rst +++ b/README.rst @@ -53,6 +53,15 @@ dictionary must be given (but can be empty) in the ``I18N_SUBSITES`` dictionary } } +You must also have the following in your pelican configuration + +.. code-block:: python + JINJA_ENVIRONMENT = { + 'extensions': ['jinja2.ext.i18n'], + } + + + Default and special overrides ----------------------------- The settings overrides may contain arbitrary settings, however, there