Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions i18n_subsites/localizing_using_jinja2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ create a mapping file ``babel.cfg`` with the following line
.. code-block:: cfg

[jinja2: templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_,...

Make sure to mention all the extensions you are using. Failing to do
so will result in incomplete catalog. You can add `silent=false` if
you need to debug.


2. Extract translatable strings from templates
Expand Down