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 33e17b0 + afa51d3 commit b2b1eb5Copy full SHA for b2b1eb5
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