diff --git a/translation.rst b/translation.rst index 366c64c8517..de6bdd12b84 100644 --- a/translation.rst +++ b/translation.rst @@ -345,6 +345,10 @@ Templates are now much simpler because you can pass translatable objects to the

{{ message|trans }}

{{ status|trans }}

+.. tip:: + + The translation parameters can also be a :class:`Symfony\\Component\\Translation\\TranslatableMessage`. + .. tip:: There's also a :ref:`function called t() `,