title: CodeIgniter form validation multilanguage labels
body: <p>I'm currently working on a website that can be viewed in 3 different languages. I've put all text into languages files and almost everything is working as expected. 
  Things like configuration for pagination I've put into a configuration file and into <code>application/config</code>, like this:</p>
  
  <pre><code>&lt;?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
  $config['num_links']      = 2;
  $config['full_tag_open']  = '&lt;p class="pagination"&gt;';
  $config['full_tag_close'] = '&lt;/p&gt;';
  $config['first_link']     = '&amp;laquo;&amp;nbsp;' . lang('first');
  $config['last_link']      = lang('last') . '&amp;nbsp;&amp;raquo;';
  </code></pre>
  
  <p>And it works great, but I've tried the same for my form validation configuration file, like this:</p>
  
  <pre><code>&lt;?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  
  $config = array(
  
      'login' =&gt; array(
          array(
              'field' =&gt; 'login_email',
              'label' =&gt; lang('emailaddress'),
              'rules' =&gt; 'trim|required|valid_email|min_length[6]'
          ),
          array(
              'field' =&gt; 'login_password',
              'label' =&gt; lang('password'),
              'rules' =&gt; 'trim|required'
          ),
      ),
  </code></pre>
  
  <p>But this doesn't seem to work. It looks like this configuration file gets loaded before the language files/library.
  And to be honest, at the moment I don't really have an idea how to fix this other than taking everything out of the configuration file again, and put it into the controller, but I'd rather not do this.</p>
  
  <p>Any ideas how to fix this?</p>