From e3f19205edfb65be4ee0b0276ad2b8d6a7d71ea3 Mon Sep 17 00:00:00 2001 From: Gabriel Solomon Date: Sun, 13 Feb 2022 22:24:46 +0200 Subject: [PATCH] Remove reference to PHP Templates in translation --- translation.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/translation.rst b/translation.rst index d32a85b0290..6c18cf3e6f0 100644 --- a/translation.rst +++ b/translation.rst @@ -437,16 +437,6 @@ The ``trans`` filter can be used to translate *variable texts* and complex expre Note that this only influences the current template, not any "included" template (in order to avoid side effects). -PHP Templates -~~~~~~~~~~~~~ - -The translator service is accessible in PHP templates through the -``translator`` helper: - -.. code-block:: html+php - - trans('Symfony is great') ?> - Forcing the Translator Locale -----------------------------