. * */ $app = $_POST["app"]; $app = OC_App::cleanAppId($app); $l = OC_L10N::get( $app ); OC_JSON::success(array('data' => $l->getTranslations()));