title: Zend Framework 2 Translating the text of the radio buttons
body: <p>I´m developing an application using Zend Framework 2 and I need to translate the text of the radio buttons ("Show", "Hide") that I´ve created in my form:</p>
  
  <pre><code>    //within the Form
  
      public function addRadioButtons ()
          {
              $isPublicRadioButtons = new Element\Radio('isPublic');
              $isPublicRadioButtons-&gt;setAttribute('id', 'isPublic')
                      -&gt;setAttribute('value', '0')
                      -&gt;setValueOptions(array(
                          '0' =&gt; 'Show',
                          '1' =&gt; 'Hide',
                      ));
  
              $this-&gt;add($isPublicRadioButtons);
          }
  </code></pre>
  
  <p>What do I have to do in the view side to be able to translate them?</p>
  
  <p>I know that to render translations to the views I need to use $this→translate() view helper. So within the view I´ll have to somehow call the text of the radio buttons.. </p>
  
  <pre><code>//Whithin the view
  
  echo $this-&gt;translate($someHowCallTheTextOfRadioButton('isPublic') , $textDomain, $locale);
  </code></pre>