title: Zend Framework 2 - Form translate
body: <p>i got a question regarding the Zend Framework 2 Form translate. Right now i cannot translate form error messages from english to italian (my language).</p>
  
  <p>I tried to set up the module.config.php as follow:</p>
  
  <pre><code>//...
  'translator' =&gt; array(
      'locale' =&gt; 'it_IT',
      'translation_file_patterns' =&gt; array(
          array(
              'type' =&gt; 'phparray',
              'base_dir' =&gt; __DIR__. '/../language/form_errors',
              'pattern' =&gt; '%s.php'
          )
      ),
  ),
  </code></pre>
  
  <p>And the file is currently loaded in the Translator class. The problem is: even if i write the index (or the message) of the form error, it will not translate the form message.</p>
  
  <pre><code>return array(
  'Skeleton Application' =&gt; 'Applicazione Scheletro',
  "IS_EMPTY" =&gt; 'Il valore non può essere vuoto'
  );
  </code></pre>
  
  <p>However, if i use the $translator->translate('Skeleton Application') it works like a charm...any tips ? </p>
  
  <p>Thanks in advice..</p>