/** * Get the language of the project. * * @since 1.0.0 * * @param bool|string $slug Optional Return just the slug or the language name? * * @return string The language name or slug. */ public function language($slug = false) { if ($slug) { return $this->language; } else { return Dictionary::identify_language($this->language); } }