Fixed #31341 -- Doc'd minimal gettext version with ES6 template strings support.
This commit is contained in:
parent
babd412685
commit
2f53d324de
|
@ -139,11 +139,9 @@ have more than a single parameter. If you used positional interpolation,
|
||||||
translations wouldn't be able to reorder placeholder text.
|
translations wouldn't be able to reorder placeholder text.
|
||||||
|
|
||||||
Since string extraction is done by the ``xgettext`` command, only syntaxes
|
Since string extraction is done by the ``xgettext`` command, only syntaxes
|
||||||
supported by ``gettext`` are supported by Django. Python :py:ref:`f-strings
|
supported by ``gettext`` are supported by Django. In particular, Python
|
||||||
<f-strings>` and `JavaScript template strings`_ are not yet supported by
|
:py:ref:`f-strings <f-strings>` are not yet supported by ``xgettext``, and
|
||||||
``xgettext``.
|
JavaScript template strings need ``gettext`` 0.21+.
|
||||||
|
|
||||||
.. _JavaScript template strings: https://savannah.gnu.org/bugs/?50920
|
|
||||||
|
|
||||||
.. _translator-comments:
|
.. _translator-comments:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue