public function createTranslate(string $identification, string $message, $idLocale = null): string
    {
        if (isset($this->dictionary) && $this->dictionary) {
            if (!isset($this->dictionary[$identification]) || $this->dictionary[$identification] != $message) {
                $this->saveTranslate($identification, $message, $idLocale ?: $this->locale->getId());
            }
            return $this->dictionary[$identification];
        }
        return $message;
    }
public function createTranslate(string $identification, string $message, $idLocale = null): string
    {
        if (isset($this->dictionary) && $this->dictionary) {
            if (!isset($this->dictionary[$identification]) || $this->dictionary[$identification] != $message) {
                $this->saveTranslate($identification, $message, $idLocale ?: $this->locale->getId());
            }
            return $this->dictionary[$identification];
        }
        return $message;
    }
public function createTranslate ( string $ identification , string $ message , $ idLocale = null ) : string { if ( isset ( $ this -> dictionary ) && $ this -> dictionary ) { if ( ! isset ( $ this -> dictionary [ $ identification ] ) || $ this -> dictionary [ $ identification ] != $ message ) { $ this -> saveTranslate ( $ identification , $ message , $ idLocale ? : $ this -> locale -> getId ( ) ) ; } return $ this -> dictionary [ $ identification ] ; } return $ message ; }
Create translate.

@param      $identification
@param      $message
@param null $idLocale
@return string
Create translate .