 
            public function __construct($uri = null)
{
 parent::__construct($uri);
 if (isset($this->segments[0]) and in_array($this->segments[0], \Config::get('supported_languages')))
 {
  \Config::set('language', $this->segments[0]);
  array_shift($this->segments);
  $this->uri = implode('/', $this->segments);
 }
}
$current_lang = \Config::get('language');
		'fr/histoire' => 'welcome/histoire', 'it/storia' => 'welcome/histoire',
It looks like you're new here. If you want to get involved, click one of these buttons!