public function publish($localeKey, $force = false)
    {
        $localeKey = trim($localeKey);

        if ($this->isDefault($localeKey))
            return true;

        $this->checkLocale($localeKey);

        $source      = $this->getLocale($localeKey)->getPath();
        $destination = $this->getDestinationPath($localeKey);

        $this->isPublishable($localeKey, $destination, $force);

        return $this->filesystem->copyDirectory($source, $destination);
    }
public function publish($localeKey, $force = false)
    {
        $localeKey = trim($localeKey);

        if ($this->isDefault($localeKey))
            return true;

        $this->checkLocale($localeKey);

        $source      = $this->getLocale($localeKey)->getPath();
        $destination = $this->getDestinationPath($localeKey);

        $this->isPublishable($localeKey, $destination, $force);

        return $this->filesystem->copyDirectory($source, $destination);
    }
public function publish ( $ localeKey , $ force = false ) { $ localeKey = trim ( $ localeKey ) ; if ( $ this -> isDefault ( $ localeKey ) ) return true ; $ this -> checkLocale ( $ localeKey ) ; $ source = $ this -> getLocale ( $ localeKey ) -> getPath ( ) ; $ destination = $ this -> getDestinationPath ( $ localeKey ) ; $ this -> isPublishable ( $ localeKey , $ destination , $ force ) ; return $ this -> filesystem -> copyDirectory ( $ source , $ destination ) ; }
Publish a lang.

@param  string  $localeKey
@param  bool    $force

@return bool
Publish a lang .