src/Translator.php
public function translate($key, $translation, $locale = null, $driver = null) {
        $driver = ! is_null($driver) ? $this->getDriver($driver) : $this->driver();

        return $driver->translate(
            $key, $translation, $locale
        );
    }
public function translate($key, $translation, $locale = null, $driver = null) {
        $driver = ! is_null($driver) ? $this->getDriver($driver) : $this->driver();

        return $driver->translate(
            $key, $translation, $locale
        );
    }
public function translate ( $ key , $ translation , $ locale = null , $ driver = null ) { $ driver = ! is_null ( $ driver ) ? $ this -> getDriver ( $ driver ) : $ this -> driver ( ) ; return $ driver -> translate ( $ key , $ translation , $ locale ) ; }
Translate a key .

@param $key
@param $translation
@param null $locale
@param null $driver
@return mixed
Translate a key .