src/CommonServiceProvider.php
public function loadTranslations()
    {
        $directory = $this->getDirectory().'/../../resources/lang';

        $this->loadTranslationsFrom($directory, 'amethyst-'.$this->getPackageName());

        $this->publishes([
            $directory => resource_path('lang/vendor/amethyst'),
        ], 'resources');
    }
public function loadTranslations()
    {
        $directory = $this->getDirectory().'/../../resources/lang';

        $this->loadTranslationsFrom($directory, 'amethyst-'.$this->getPackageName());

        $this->publishes([
            $directory => resource_path('lang/vendor/amethyst'),
        ], 'resources');
    }
public function loadTranslations ( ) { $ directory = $ this -> getDirectory ( ) . '/../../resources/lang' ; $ this -> loadTranslationsFrom ( $ directory , 'amethyst-' . $ this -> getPackageName ( ) ) ; $ this -> publishes ( [ $ directory => resource_path ( 'lang/vendor/amethyst' ) , ] , 'resources' ) ; }
Load translations.
Load translations .