public function translationCheckLanguageAction()
{
$success = false;
$language = null;
$document = Document::getByPath($this->getParam("path"));
if ($document) {
$language = $document->getProperty("language");
if ($language) {
$success = true;
}
}
$this->_helper->json(["success" => $success, "language" => $language]);
}