title: Localized JSF default validators
body: <p>Is there any way to painlessly localize the default validator messages in JSF 2.0? I know the key is, i. e., "javax.faces.component.UIInput.REQUIRED", but from all I've found, the only way to change them is in a message-bundle, and it is not locale aware like resource-bundle is. I also didn't find any way to override the default validator for</p>
  
  <pre><code>required="true"
  </code></pre>
  
  <p>so, is there a way to decently localize those messages without writing a customized "required" validator that uses the needed resource-bundle? Not that it's too much work, but I really like the</p>
  
  <pre><code>required="true"
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>&lt;h:inputText ...
      &lt;f:validator  ...
  &lt;/h:inputText ...
  </code></pre>
  
  <p>merely for code shortness etc... The question is general, about default messages though, the required validator is mentioned as an example.</p>
  
  <p>JSF 2.0, GFv3.1, JEE6 (Servlets 3.0, EL 2.2, EJB 3.1, etc if that matters to anyone).</p>