private function isPublishable($locale, $path, $force)
    {
        if ( ! $this->isFolderExists($path) || $this->isFolderEmpty($path))
            return;

        if ( ! $force) {
            throw new LangPublishException(
                "You can't publish the translations because the [$locale] folder is not empty. ".
                "To override the translations, try to clean/delete the [$locale] folder or force the publication."
            );
        }
    }
private function isPublishable($locale, $path, $force)
    {
        if ( ! $this->isFolderExists($path) || $this->isFolderEmpty($path))
            return;

        if ( ! $force) {
            throw new LangPublishException(
                "You can't publish the translations because the [$locale] folder is not empty. ".
                "To override the translations, try to clean/delete the [$locale] folder or force the publication."
            );
        }
    }
private function isPublishable ( $ locale , $ path , $ force ) { if ( ! $ this -> isFolderExists ( $ path ) || $ this -> isFolderEmpty ( $ path ) ) return ; if ( ! $ force ) { throw new LangPublishException ( "You can't publish the translations because the [$locale] folder is not empty. " . "To override the translations, try to clean/delete the [$locale] folder or force the publication." ) ; } }
Check if locale is publishable.

@param  string  $locale
@param  string  $path
@param  bool    $force

@throws \Arcanedev\LaravelLang\Exceptions\LangPublishException
Check if locale is publishable .