Skip to content
Myr

trim obsolete sentence re: i18n extension

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This sentence seems like a leftover from when i18n was the only extension available, eh?

authored by Chad Whitacre · committed by Chad Whitacre · parent 85820fc · Browse files · 1 file+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−4 removed

  • other:+3 added−4 removed

1 file+3 added−4 removed

modified:docs/extensions.rst+3 added-4 removed
25 unmodified lines
26--------------2728**Import name:** `jinja2.ext.i18n`2930Jinja2 currently comes with one extension, the i18n extension. It can be31used in combination with `gettext`_ or `babel`_. If the i18n extension is32enabled Jinja2 provides a `trans` statement that marks the wrapped string as33translatable and calls `gettext`.30The i18n extension can be used in combination with `gettext`_ or `babel`_. If 31the i18n extension is enabled Jinja2 provides a `trans` statement that marks 32the wrapped string as translatable and calls `gettext`.3334After enabling, dummy `_` function that forwards calls to `gettext` is added35to the environment globals. An internationalized application then has to36provide a `gettext` function and optionally an `ngettext` function into the
310 unmodified lines