title: How to internationalize error messages when using Hibernate Validator with GWT?
body: <p>I'm looking for a bit of help on how to internationalize my hibernate validation messages while using GWT, so that it works with both client and server messages.</p>
  
  <p>According to <a href="https://stackoverflow.com/questions/6261858/internationalization-in-hibernate-validators">this question</a>, I should put a ValidationMessages.properties file in my class path, or use the following code:</p>
  
  <pre><code>Validation
      .byProvider(HibernateValidator.class)
      .configure()
      .messageInterpolator(
          new ResourceBundleMessageInterpolator(
              new PlatformResourceBundleLocator("com.mycompany.Messages")))
      .buildValidatorFactory()
      .getValidator();`
  </code></pre>
  
  <p>But will this method work on the client side, with GWT code? What should I do to make it work on the client side?</p>