code: public function setTranslator($translator, $translatorDomain = null, $translatorLocale = null) {
      $this->translator = $translator;
      $this->setTranslatorDomain($translatorDomain);
      $this->setTranslatorLocale($translatorLocale);
      $this->setCaption($this->translate($this->getCaption()));
    }
docs: The Symfony2 tranlator
  @param \Symfony\Component\Translation\Translator $translator