original_string: public function getCurrentUiLang($isTwoLetter = false) {
  		$uiLcid3 = Configure::read('Config.language');
  		if (empty($uiLcid3)) {
  			$uiLcid3 = 'eng';
  		}
  		$uiLcid3 = mb_strtolower($uiLcid3);
  		if (!$isTwoLetter) {
  			return $uiLcid3;
  		}
  
  		return $this->convertLangCode($uiLcid3, 'iso639-1');
  	}
code: public function getCurrentUiLang($isTwoLetter = false) {
  		$uiLcid3 = Configure::read('Config.language');
  		if (empty($uiLcid3)) {
  			$uiLcid3 = 'eng';
  		}
  		$uiLcid3 = mb_strtolower($uiLcid3);
  		if (!$isTwoLetter) {
  			return $uiLcid3;
  		}
  
  		return $this->convertLangCode($uiLcid3, 'iso639-1');
  	}
code_tokens: public function getCurrentUiLang ( $ isTwoLetter = false ) { $ uiLcid3 = Configure :: read ( 'Config.language' ) ; if ( empty ( $ uiLcid3 ) ) { $ uiLcid3 = 'eng' ; } $ uiLcid3 = mb_strtolower ( $ uiLcid3 ) ; if ( ! $ isTwoLetter ) { return $ uiLcid3 ; } return $ this -> convertLangCode ( $ uiLcid3 , 'iso639-1' ) ; }
docstring: Get current UI language in format `ISO 639-1` or `ISO 693-2`
  
  @param bool $isTwoLetter Flag of using `ISO 639-1` if True.
  Use `ISO 693-2` otherwise.
  @return string Current UI language
docstring_tokens: Get current UI language in format ISO 639 - 1 or ISO 693 - 2