original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: Sets the current language data
docstring_tokens: Sets the current language data