We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249434e commit e3f1920Copy full SHA for e3f1920
translation.rst
@@ -437,16 +437,6 @@ The ``trans`` filter can be used to translate *variable texts* and complex expre
437
Note that this only influences the current template, not any "included"
438
template (in order to avoid side effects).
439
440
-PHP Templates
441
-~~~~~~~~~~~~~
442
-
443
-The translator service is accessible in PHP templates through the
444
-``translator`` helper:
445
446
-.. code-block:: html+php
447
448
- <?= $view['translator']->trans('Symfony is great') ?>
449
450
Forcing the Translator Locale
451
-----------------------------
452
0 commit comments