I'm using the Easy Admin bundle to manage the back-end of my Symfony application.
I'd like to translate the following message "max 200 characters"
There are several properties that needs this kind of message so I'd like to make it more flexible using a variable as in Twig:
{{ 'max.character'|trans({'%max%': 200}) }}
and my message.yaml would be:
max:
character: 'max %max% characters'
According to the bundle documentation there is nothing about variable.
So is it possible and if yes how can I use variable in this kind of way:
edit:
fields:
- {property: 'toto', label: 'toto.label', help: 'max.character' {%max%:200} }