public function getLanguage()
    {
        if ($this->project->getEmailMultiLanguage() && $this->language) {
            return $this->language;
        } else {
            return $this->project->getLocaleDefault();
        }
    }
public function getLanguage()
    {
        if ($this->project->getEmailMultiLanguage() && $this->language) {
            return $this->language;
        } else {
            return $this->project->getLocaleDefault();
        }
    }
public function getLanguage ( ) { if ( $ this -> project -> getEmailMultiLanguage ( ) && $ this -> language ) { return $ this -> language ; } else { return $ this -> project -> getLocaleDefault ( ) ; } }
Get the prefered template language
@return string language code
Get the prefered template language