src/Classes/Translation/ModuleFileLoader.php
protected function loadModulePath($path, $locale, $name,$author)
    {
        if ($this->files->exists($full = "{$path}/{$author}/{$name}/translate/{$locale}.php")) {
            return $this->files->getRequire($full);
        }
        return [];
    }
protected function loadModulePath($path, $locale, $name,$author)
    {
        if ($this->files->exists($full = "{$path}/{$author}/{$name}/translate/{$locale}.php")) {
            return $this->files->getRequire($full);
        }
        return [];
    }
protected function loadModulePath ( $ path , $ locale , $ name , $ author ) { if ( $ this -> files -> exists ( $ full = "{$path}/{$author}/{$name}/translate/{$locale}.php" ) ) { return $ this -> files -> getRequire ( $ full ) ; } return [ ] ; }
load module file translated
@param $path
@param $locale
@param $name
@param $author
@return array|mixed
@throws \Illuminate\Contracts\Filesystem\FileNotFoundException
load module file translated