src/components/AdminLanguage.php
public function getLanguageByShortCode($shortCode)
    {
        return isset($this->getLanguages()[$shortCode]) ? $this->getLanguages()[$shortCode] : false;
    }
public function getLanguageByShortCode($shortCode)
    {
        return isset($this->getLanguages()[$shortCode]) ? $this->getLanguages()[$shortCode] : false;
    }
public function getLanguageByShortCode ( $ shortCode ) { return isset ( $ this -> getLanguages ( ) [ $ shortCode ] ) ? $ this -> getLanguages ( ) [ $ shortCode ] : false ; }
Get the language from a shortCode.

@param string $shortCode
@return boolean|mixed
Get the language from a shortCode .