src/Providers/Concerns/PackageProvider.php
public function addLanguageComponent(string $package, string $namespace, string $path): void
    {
        $this->app->make('translator')->addNamespace($namespace, $path);
    }
public function addLanguageComponent(string $package, string $namespace, string $path): void
    {
        $this->app->make('translator')->addNamespace($namespace, $path);
    }
public function addLanguageComponent ( string $ package , string $ namespace , string $ path ) : void { $ this -> app -> make ( 'translator' ) -> addNamespace ( $ namespace , $ path ) ; }
Register the package's language component namespaces.

@param  string  $package
@param  string  $namespace
@param  string  $path

@return void
Register the package s language component namespaces .