public function cleanupAction()
{
$listClass = "\\Pimcore\\Model\\Translation\\" . ucfirst($this->getParam("type")) . "\\Listing";
if (Tool::classExists($listClass)) {
$list = new $listClass();
$list->cleanup();
\Pimcore\Cache::clearTags(["translator", "translate"]);
$this->_helper->json(["success" => true]);
}
$this->_helper->json(["success" => false]);
}