diff options
| author | Claude Paroz <claude@2xlibre.net> | 2020-03-05 09:03:06 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-05 13:21:54 +0100 |
| commit | 2f53d324debee680658aed7f22f1aaf81385b1f2 (patch) | |
| tree | be57fd957d7ec23c7655d4b7984a061723a5edbc /docs | |
| parent | babd4126853e48594b61e8db71a83d7bdd929b9c (diff) | |
Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 1dc85d801c..04aa124a49 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -139,11 +139,9 @@ have more than a single parameter. If you used positional interpolation, translations wouldn't be able to reorder placeholder text. Since string extraction is done by the ``xgettext`` command, only syntaxes -supported by ``gettext`` are supported by Django. Python :py:ref:`f-strings -<f-strings>` and `JavaScript template strings`_ are not yet supported by -``xgettext``. - -.. _JavaScript template strings: https://savannah.gnu.org/bugs/?50920 +supported by ``gettext`` are supported by Django. In particular, Python +:py:ref:`f-strings <f-strings>` are not yet supported by ``xgettext``, and +JavaScript template strings need ``gettext`` 0.21+. .. _translator-comments: |
