title: codeigniter 2.1.3 multilanguage website how to?
body: <p>codeigniter 2.1.3 multilanguage website how to ?</p>
  
  <p>i have on /language/english and /language/french</p>
  
  <p>this french
  $lang['user_login']           = 'Connecté';</p>
  
  <p>this english
  $lang['user_login']           = 'Login';</p>
  
  <p>the language file its called user_lang.php</p>
  
  <p>on the controller contructor i have this :</p>
  
  <pre><code>$this-&gt;load-&gt;helper('url');         
      $this-&gt;load-&gt;helper('language');
  </code></pre>
  
  <p>on the function index i have this :</p>
  
  <pre><code>public function index()
  {
  
             $this-&gt;lang-&gt;load('user', 'french');
  </code></pre>
  
  <p>....</p>
  
  <p>on the view i have the following :</p>
  
  <pre><code>&lt;div class="pageTitle"&gt;&lt;?php echo $this-&gt;lang-&gt;line('user_login');?&gt;&lt;/div&gt;
  
  /*
  | -------------------------------------------------------------------
  |  Auto-load Language files
  | -------------------------------------------------------------------
  | Prototype:
  |
  |   $autoload['language'] = array('lang1', 'lang2');
  |
  | NOTE: Do not include the "_lang" part of your file.  For example
  | "codeigniter_lang.php" would be referenced as array('codeigniter');
  |
  */
  
  $autoload['language'] = array('user');
  </code></pre>
  
  <p>the question is that the website is working its going to the user_lang.php
  to get the word login</p>
  
  <p>but only goes to the english file</p>
  
  <pre><code> $this-&gt;lang-&gt;load('user', 'french');
  </code></pre>
  
  <p>iam doing this above , and its not working never reads the french file</p>
  
  <p>i have another question , how can i get this working so i can switch languages with a anchor or href</p>
  
  <p>thanks
  Pedro</p>