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.
2 parents 5f29149 + b2b1eb5 commit 9c761acCopy full SHA for 9c761ac
translation.rst
@@ -433,16 +433,6 @@ The ``trans`` filter can be used to translate *variable texts* and complex expre
433
Note that this only influences the current template, not any "included"
434
template (in order to avoid side effects).
435
436
-PHP Templates
437
-~~~~~~~~~~~~~
438
-
439
-The translator service is accessible in PHP templates through the
440
-``translator`` helper:
441
442
-.. code-block:: html+php
443
444
- <?= $view['translator']->trans('Symfony is great') ?>
445
446
Forcing the Translator Locale
447
-----------------------------
448
0 commit comments