From 2f53d324debee680658aed7f22f1aaf81385b1f2 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 5 Mar 2020 09:03:06 +0100 Subject: [PATCH] Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support. --- docs/topics/i18n/translation.txt | 8 +++----- 1 file 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 -` 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 ` are not yet supported by ``xgettext``, and +JavaScript template strings need ``gettext`` 0.21+. .. _translator-comments: