File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -468,6 +468,11 @@ The ``translation:update`` command looks for missing translations in:
468
468
:ref: `translatable-objects ` using the constructor or the ``t() `` method or calls
469
469
the ``trans() `` method.
470
470
471
+ .. versionadded :: 5.3
472
+
473
+ Support for extracting Translatable objects has been introduced in
474
+ Symfony 5.3.
475
+
471
476
.. _translation-resource-locations :
472
477
473
478
Translation Resource/File Names and Locations
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ command helps you to find these missing or unused translation messages templates
21
21
22
22
The extractors can't find messages translated outside templates (like form
23
23
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:
26
27
27
28
.. code-block :: twig
28
29
You can’t perform that action at this time.
0 commit comments