You are here

public function DataCollectorTranslator::setLocale in Plug 7

@api

Overrides TranslatorInterface::setLocale

File

lib/Symfony/translation/DataCollectorTranslator.php, line 72

Class

DataCollectorTranslator
@author Abdellatif Ait boudad <a.aitboudad@gmail.com>

Namespace

Symfony\Component\Translation

Code

public function setLocale($locale) {
  $this->translator
    ->setLocale($locale);
}