protected function setLanguageProperties()
    {
        if (!$this->isInternalRoute()) {

            $langcode = $this->route->getLangcode();

            if (!empty($langcode)) {
                $this->langcode = $langcode;
                $this->translation->set($langcode, $this->current_route['simple_pattern']);
                $this->current_language = $this->language->get($this->langcode);
            }
        }
    }
protected function setLanguageProperties()
    {
        if (!$this->isInternalRoute()) {

            $langcode = $this->route->getLangcode();

            if (!empty($langcode)) {
                $this->langcode = $langcode;
                $this->translation->set($langcode, $this->current_route['simple_pattern']);
                $this->current_language = $this->language->get($this->langcode);
            }
        }
    }
protected function setLanguageProperties ( ) { if ( ! $ this -> isInternalRoute ( ) ) { $ langcode = $ this -> route -> getLangcode ( ) ; if ( ! empty ( $ langcode ) ) { $ this -> langcode = $ langcode ; $ this -> translation -> set ( $ langcode , $ this -> current_route [ 'simple_pattern' ] ) ; $ this -> current_language = $ this -> language -> get ( $ this -> langcode ) ; } } }
Sets the current language data
Sets the current language data