Skip to content

Commit dc9e613

Browse files
committed
[#15063] Added versionaddeds
1 parent d7e7152 commit dc9e613

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

translation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,11 @@ The ``translation:update`` command looks for missing translations in:
468468
:ref:`translatable-objects` using the constructor or the ``t()`` method or calls
469469
the ``trans()`` method.
470470

471+
.. versionadded:: 5.3
472+
473+
Support for extracting Translatable objects has been introduced in
474+
Symfony 5.3.
475+
471476
.. _translation-resource-locations:
472477

473478
Translation Resource/File Names and Locations

translation/debug.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ command helps you to find these missing or unused translation messages templates
2121

2222
The extractors can't find messages translated outside templates (like form
2323
labels or controllers) unless using :ref:`translatable-objects` or calling
24-
the ``trans()`` method on a translator. Dynamic translations using variables
25-
or expressions in templates are not detected either:
24+
the ``trans()`` method on a translator (since Symfony 5.3). Dynamic
25+
translations using variables or expressions in templates are not
26+
detected either:
2627

2728
.. code-block:: twig
2829

0 commit comments

Comments
 (0)