code: public function disableTranslateAction()
      {
          try {
              $this->getService()->setTranslateInline(0);
              $this->getService()->flushCache();
  
          } catch (Exception $e) {
              $message = $this->__('Translate inline cannot be disabled: %s', $e->getMessage());
              $this->getSession()->addError($message);
          }
  
          $this->_redirectReferer();
      }
docs: Disables inline translation