public function translate($language, $nameCategory)
{
$translations = $this->getLanguage($language);
if (array_key_exists($nameCategory, $translations)) {
return $translations[$nameCategory];
}
$error = 'Translation not found';
throw new NotificationTranslationNotFoundException($error);
}