public function createTranslator()
    {
        return $this
            ->entityTranslatorFactory
            ->create(
                $this->entityTranslationProvider,
                $this->configuration,
                $this->fallback
            );
    }
public function createTranslator()
    {
        return $this
            ->entityTranslatorFactory
            ->create(
                $this->entityTranslationProvider,
                $this->configuration,
                $this->fallback
            );
    }
public function createTranslator ( ) { return $ this -> entityTranslatorFactory -> create ( $ this -> entityTranslationProvider , $ this -> configuration , $ this -> fallback ) ; }
Compile the translator and return an instance.

@return EntityTranslatorInterface
Compile the translator and return an instance .