public function postLoad(LifecycleEventArgs $args)
    {
        $this
            ->container
            ->get('elcodi.entity_translator')
            ->translate(
                $args->getEntity(),
                $this->locale->getIso()
            );
    }
public function postLoad(LifecycleEventArgs $args)
    {
        $this
            ->container
            ->get('elcodi.entity_translator')
            ->translate(
                $args->getEntity(),
                $this->locale->getIso()
            );
    }
public function postLoad ( LifecycleEventArgs $ args ) { $ this -> container -> get ( 'elcodi.entity_translator' ) -> translate ( $ args -> getEntity ( ) , $ this -> locale -> getIso ( ) ) ; }
Translate the entity to given locale.

@param LifecycleEventArgs $args Arguments
Translate the entity to given locale .