title: How to localize p:captcha
body: <p>I would like to create a localization for PrimeFaces <code>&lt;p:captcha&gt;</code> component. I know how to localize validation error messages by using <code>requiredMessage</code> or <code>validatorMessage</code> attributes as follows:</p>
  
  <p><code>&lt;p:captcha label="Captcha" theme="clean" requiredMessage="#{msg['primefaces.captcha.INVALID']}" validatorMessage="#{msg['primefaces.tree.REQUIRED']}"/&gt;</code></p>
  
  <p>The problem is that I don't know how to localize e.g. labels (as depicted below)</p>
  
  <p><img src="https://i.imgur.com/1RTvLTU.png" alt="Example validation"></p>
  
  <p>So I need to localize points 1) and 2) and tooltips which are showed when user hovers any of buttons. It would be also nice if reCaptcha could use some kind of localized dictionary (3rd point) but I doubt that it's possible and it's really optional. <a href="https://developers.google.com/recaptcha/docs/customization?hl=pl&amp;csw=1" rel="nofollow noreferrer">I know that reCaptcha has few supported languages</a> but mine (pl - polish) is unfortunately not supported...</p>