src/API/GoogleAPI.php
public function getAPILanguage()
    {
        $lang = SiteConfig::current_site_config()->GoogleAPILanguage;
        
        if (!$lang) {
            $lang = self::config()->api_language;
        }
        
        return $lang;
    }
public function getAPILanguage()
    {
        $lang = SiteConfig::current_site_config()->GoogleAPILanguage;
        
        if (!$lang) {
            $lang = self::config()->api_language;
        }
        
        return $lang;
    }
public function getAPILanguage ( ) { $ lang = SiteConfig :: current_site_config ( ) -> GoogleAPILanguage ; if ( ! $ lang ) { $ lang = self :: config ( ) -> api_language ; } return $ lang ; }
Answers the API language from site or YAML configuration.

@return string
Answers the API language from site or YAML configuration .