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:49:17 +0100 |
| commit | e3069f6665646695495b8071a6161f13cc9df374 (patch) | |
| tree | 96e26f8732611ca12f472fbde12735572c8e3f27 | |
| parent | 8e30512e7a91d07a223ce21f9ba1c5090bccaca6 (diff) | |
[3.0.x] Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
Backport of 2f53d324debee680658aed7f22f1aaf81385b1f2 from master
| -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 f9bb27b6b7..b02879189d 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: |
