public function translate($string, array $arguments = null, $htmlEscape = true)
    {
        if (null === $this->getI18n()) {
            throw new Doozr_Form_Service_Exception(
                'Please set an instance of Doozr_I18n_Service (or compatible) first before calling encrypt()'
            );
        }

        return $this->getI18n()->translate($string, $htmlEscape, $arguments);
    }