title: i18n and Java validation annotation messages
body: <p>I've got the following annotation:</p>
  
  <pre><code>@NotEmpty
  @Documented
  @Target(ElementType.FIELD)
  @Retention(RetentionPolicy.RUNTIME)
  @Constraint(validatedBy = SupportedVideoUrlValidator.class)
  public @interface SupportedVideoUrl {
      String message() default "{cast.submission.error.video}";
  
      Class&lt;?&gt;[] groups() default {};
  
      Class&lt;? extends Payload&gt;[] payload() default {};
  
      String value() default "";
  }
  </code></pre>
  
  <p>It works OK except the i18n part. The post-validation error message is displayed as is. 
  I do not know how to handle this...</p>
  
  <p>If you have any ideas, thanks in advance for your help!</p>
  
  <p>Rolf</p>