title: How can I internationalize a GWT UIBinder page with Messages?
body: <p>I am trying to internationalize a UIBinder application with property files. Since we have already a lot of translations exposed by the com.google.gwt.i18n.client.Messages interface (GWT 1.7.1), we would like to reuse these messages.</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>&lt;!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"&gt;
  &lt;ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
   xmlns:g="urn:import:com.google.gwt.user.client.ui" 
   xmlns:res="ui:with:be.credoc.iov.webapp.client.MessageConstants"&gt;
  
   &lt;g:HTMLPanel&gt;
    &lt;div&gt;
     &lt;res:msg key="email"&gt;Emaileke&lt;/res:msg&gt;:
     &lt;g:TextBox ui:field="email" /&gt;
    &lt;/div&gt;
   &lt;/g:HTMLPanel&gt;
  &lt;/ui:UiBinder&gt;
  </code></pre>
  
  <p>The MessageConstants class looks like this:</p>
  
  <pre><code>@DefaultLocale("nl")
  public interface MessageConstants extends Messages {
   String email();
  }
  </code></pre>
  
  <p>However, this does not work. How can I do this?</p>