title: How insert field name when using internationalization with javax validations?
body: <p>I'm using javax validation annotations with Spring Boot and internationalization. So I have the following field:</p>
  
  <pre><code>@Size(min = 3, max = 3, message = "{javax.validation.constraints.Size.message}")
  private String currencyCode;
  </code></pre>
  
  <p>The US resource bundle has:</p>
  
  <pre><code>javax.validation.constraints.Size.message = size must be between {min} and {max}
  </code></pre>
  
  <p>So when this field fails on validation, I see the message <code>"size must be between 3 and 3"</code>.</p>
  
  <p>But what I want is to have a message like:</p>
  
  <pre><code>javax.validation.constraints.Size.message = {fieldName}'s size must be between {min} and {max}
  </code></pre>
  
  <p>Which would result in the message <code>"currencyCode's size must be between 3 and 3"</code>.</p>
  
  <p>Is this possible? Do I need to override a bean to make it work? Is there a pre-defined property for the field name?</p>