[svn] added a sanity check for block tags outside the root level
[jinja2.git] / docs / src / i18n.txt
index 621cc91acab3bd115a6a9f454a1dfe3ecd89b022..cfad370312caa7dcf2d4a24f5e0a4c46abd5e5c6 100644 (file)
@@ -50,6 +50,10 @@ However. For many web applications this might be a way:
     tmpl = env.get_template('index.html')
     tmpl.render(LANGUAGE='de_DE')
 
+This example assumes that you use gettext and have a gettext
+`Translations` object which is returned by the `get_translator`
+function.
+
 
 Collecting Translations
 =======================