title: Loading lang files in Laravel depending on prefix/session
body: <p>I build a multilanguage site with 3 languages (<strong>mk</strong> - default, <strong>sq</strong> and <strong>en</strong>) and ended up with the following code in routes.php:</p>
  
  <pre><code>$languages = array('en', 'sq');
  $locale = Request::segment(1);
  if(in_array($locale, $languages)){
      \App::setLocale($locale);
  }else{
      $locale = null;
  }
  // Set the session here
  Session::put('locale', $locale);
  
  Route::group(array('prefix' =&gt; $locale), function()
  {
      Route::get('/', array('as' =&gt; 'home', 'uses' =&gt; 'Controllers\Frontend\FrontendController@getIndex'));
      // .... other routes
  });
  </code></pre>
  
  <p>My default locale is <strong>'mk'</strong> and I also have 2 other languages in Land folder, <strong>sq</strong> and <strong>en</strong>.
  While the routing works fine, problem is when loading lang files. It works for default language <strong>mk</strong> set in app.php and for <strong>en</strong> but won't switch for <strong>sq</strong> translation, and instead it loads the <strong>en</strong> lang files.</p>
  
  <p>Example:</p>
  
  <ol>
  <li><p>URL: <a href="http://website.com" rel="nofollow">http://website.com</a> loads <strong>mk</strong> lang files</p></li>
  <li><p>URL: <a href="http://website.com/en" rel="nofollow">http://website.com/en</a> loads <strong>en</strong> lang files</p></li>
  <li><p>URL: <a href="http://website./sq" rel="nofollow">http://website./sq</a> loads <strong>en</strong> lang files instead of <strong>sq</strong> &lt;--- PROBLEM</p></li>
  </ol>
  
  <p>Among other code, I have the following in the view:</p>
  
  <pre><code>{{{ URL::route('home') }}}
  </code></pre>
  
  <p>The controller is usual:</p>
  
  <pre><code>public function getIndex($locale = null)
  {
  
      $data = array();
      return View::make('frontend.frontpage', $data);
  }
  </code></pre>
  
  <p>My question: why the <strong>sq</strong> language files aren't loaded when the URI parameter is changed to <strong>sq</strong>? </p>