We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0fa625 commit 9f7cc9dCopy full SHA for 9f7cc9d
translation.rst
@@ -487,11 +487,11 @@ your application:
487
488
.. code-block:: twig
489
490
- {{ 'Application version: {version}'|trans }}
+ {{ 'Application version: {app_version}'|trans }}
491
{# output: "Application version: 1.2.3" #}
492
493
{# parameters passed to the message override global parameters #}
494
- {{ 'Package version: {version}'|trans({'{version}': '2.3.4'}) }}
+ {{ 'Package version: {app_version}'|trans({'{app_version}': '2.3.4'}) }}
495
# Displays "Package version: 2.3.4"
496
497
Forcing the Translator Locale
0 commit comments