public function setLocale($language);
/** * @param string $locale * @return string */ public function translate($locale = null) { if ($locale) { $this->manager->setLocale($locale); } return $this->manager->getTranslator()->translate($this, $this->manager->getLocale()); }