original_string: public function convertLangCode($langCode = null, $output = null) {
  		$result = '';
  		if (empty($langCode) || empty($output)) {
  			return $result;
  		}
  
  		$cachePath = 'lang_code_info_' . md5(serialize(func_get_args()));
  		$cached = Cache::read($cachePath, CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE);
  		if (!empty($cached)) {
  			return $cached;
  		}
  
  		$langCode = mb_strtolower($langCode);
  		$this->options->setOutput($output);
  		$result = (string)$this->converter->filter($langCode);
  		Cache::write($cachePath, $result, CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE);
  
  		return $result;
  	}
code: public function convertLangCode($langCode = null, $output = null) {
  		$result = '';
  		if (empty($langCode) || empty($output)) {
  			return $result;
  		}
  
  		$cachePath = 'lang_code_info_' . md5(serialize(func_get_args()));
  		$cached = Cache::read($cachePath, CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE);
  		if (!empty($cached)) {
  			return $cached;
  		}
  
  		$langCode = mb_strtolower($langCode);
  		$this->options->setOutput($output);
  		$result = (string)$this->converter->filter($langCode);
  		Cache::write($cachePath, $result, CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE);
  
  		return $result;
  	}
code_tokens: public function convertLangCode ( $ langCode = null , $ output = null ) { $ result = '' ; if ( empty ( $ langCode ) || empty ( $ output ) ) { return $ result ; } $ cachePath = 'lang_code_info_' . md5 ( serialize ( func_get_args ( ) ) ) ; $ cached = Cache :: read ( $ cachePath , CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE ) ; if ( ! empty ( $ cached ) ) { return $ cached ; } $ langCode = mb_strtolower ( $ langCode ) ; $ this -> options -> setOutput ( $ output ) ; $ result = ( string ) $ this -> converter -> filter ( $ langCode ) ; Cache :: write ( $ cachePath , $ result , CAKE_BASIC_FUNC_CACHE_KEY_LANG_CODE ) ; return $ result ; }
docstring: Convert language from format `ISO 693-2` to `ISO 639-1`
  
  @param string $langCode Languge code for converting
  @param string $output Output format:
  - name: The international (often english) name of the language;
  - native: The language name written in native representation/s;
  - iso639-1: The ISO 639-1 (two-letters code) language representation;
  - iso639-2/t: The ISO 639-2/T (three-letters code for terminology applications) language representation;
  - iso639-2/b: The ISO 639-2/B (three-letters code, for bibliographic applications) language representation;
  - iso639-3: The ISO 639-3 (same as ISO 639-2/T except that for the macrolanguages) language representation.
  @return string Language code in format `ISO 639-1`,
  or empty string on failure.
  @link https://github.com/leodido/langcode-conv Language Codes Converter
docstring_tokens: Convert language from format ISO 693 - 2 to ISO 639 - 1