src/CRUDlex/Service.php
public function setLocale($locale)
    {
        foreach ($this->datas as $data) {
            $data->getDefinition()->setLocale($locale);
        }
    }
public function setLocale($locale)
    {
        foreach ($this->datas as $data) {
            $data->getDefinition()->setLocale($locale);
        }
    }
public function setLocale ( $ locale ) { foreach ( $ this -> datas as $ data ) { $ data -> getDefinition ( ) -> setLocale ( $ locale ) ; } }
Sets the locale to be used.

@param string $locale
the locale to be used.
Sets the locale to be used .