protected function _getLangForNumberText($langCode = null) {
		if (!is_object($this->_NumberTextLib)) {
			return false;
		}
		$cachePath = 'lang_code_number_lib_' . md5(serialize(func_get_args()));
		$cached = Cache::read($cachePath, CAKE_THEME_CACHE_KEY_LANG_CODE);
		if (!empty($cached)) {
			return $cached;
		}

		$langNumb = $this->_Language->getLangForNumberText($langCode);
		$result = $this->_NumberTextLib->setLang($langNumb);
		Cache::write($cachePath, $result, CAKE_THEME_CACHE_KEY_LANG_CODE);

		return $result;
	}
protected function _getLangForNumberText($langCode = null) {
		if (!is_object($this->_NumberTextLib)) {
			return false;
		}
		$cachePath = 'lang_code_number_lib_' . md5(serialize(func_get_args()));
		$cached = Cache::read($cachePath, CAKE_THEME_CACHE_KEY_LANG_CODE);
		if (!empty($cached)) {
			return $cached;
		}

		$langNumb = $this->_Language->getLangForNumberText($langCode);
		$result = $this->_NumberTextLib->setLang($langNumb);
		Cache::write($cachePath, $result, CAKE_THEME_CACHE_KEY_LANG_CODE);

		return $result;
	}
protected function _getLangForNumberText ( $ langCode = null ) { if ( ! is_object ( $ this -> _NumberTextLib ) ) { return false ; } $ cachePath = 'lang_code_number_lib_' . md5 ( serialize ( func_get_args ( ) ) ) ; $ cached = Cache :: read ( $ cachePath , CAKE_THEME_CACHE_KEY_LANG_CODE ) ; if ( ! empty ( $ cached ) ) { return $ cached ; } $ langNumb = $ this -> _Language -> getLangForNumberText ( $ langCode ) ; $ result = $ this -> _NumberTextLib -> setLang ( $ langNumb ) ; Cache :: write ( $ cachePath , $ result , CAKE_THEME_CACHE_KEY_LANG_CODE ) ; return $ result ; }
Return language name for library Tools.NumberText.

@param string $langCode Languge code in format `ISO 639-1` or `ISO 639-2`
@return string|bool Return language name in format RFC5646, or False on failure.
@link http://numbertext.org/ Universal number to text conversion languag
Return language name for library Tools . NumberText .