diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-04-18 15:03:56 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-04-18 15:03:56 +0200 |
| commit | a5d1fe59c59fa716918b6cec5e8ab747720b74fc (patch) | |
| tree | ff645d9a460dded3ea036108e67174c3776c6652 /docs | |
| parent | 8b4798c8d31b3cd9faab4caf11fca000b07f0181 (diff) | |
Revert "[1.11.x] Fixed #29174, #29175 -- Doc'd that f-strings and JavaScript template strings can't be translated."
This reverts commit 8b4798c8d31b3cd9faab4caf11fca000b07f0181.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index a9fc247d0f..158bc6fb58 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -137,13 +137,6 @@ instead of positional interpolation (e.g., ``%s`` or ``%d``) whenever you 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 f-strings_ and -`JavaScript template strings`_ are not yet supported by ``xgettext``. - -.. _f-strings: https://docs.python.org/3/reference/lexical_analysis.html#f-strings -.. _JavaScript template strings: https://savannah.gnu.org/bugs/?50920 - .. _translator-comments: Comments for translators |
