title: How to pass parameter to translated validation error message
body: <p>In Symfony2, <a href="http://symfony.com/doc/current/book/translation.html#translating-constraint-messages" rel="noreferrer">you can translate your validation error messages</a>:</p>
  
  <p><strong>Validation File</strong></p>
  
  <pre><code># src/Acme/BlogBundle/Resources/config/validation.yml
  Acme\BlogBundle\Entity\Author:
      properties:
          name:
              - NotBlank: { message: "author.name.not_blank" }
  </code></pre>
  
  <p><strong>Translation File</strong></p>
  
  <pre><code># validators.en.yml
  author.name.not_blank: Please enter an author name.
  </code></pre>
  
  <p>But how can I pass a parameter to the translation file, if e.g. I want to pass the required min or max length?</p>
  
  <pre><code>author.name.min_length: "Required length: %limit% characters."
  </code></pre>