private function handleTranslations()
    {
        // Set locale for Carbon
        Carbon::setLocale(config('app.locale'));

        // Load translations...
        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'canvas');

        // Allow publishing translation files, with tag: translations
        $this->publishes([
            __DIR__.'/../resources/lang' => base_path('resources/lang/vendor/canvas'),
        ], 'translations');
    }
private function handleTranslations()
    {
        // Set locale for Carbon
        Carbon::setLocale(config('app.locale'));

        // Load translations...
        $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'canvas');

        // Allow publishing translation files, with tag: translations
        $this->publishes([
            __DIR__.'/../resources/lang' => base_path('resources/lang/vendor/canvas'),
        ], 'translations');
    }
private function handleTranslations ( ) { // Set locale for Carbon Carbon :: setLocale ( config ( 'app.locale' ) ) ; // Load translations... $ this -> loadTranslationsFrom ( __DIR__ . '/../resources/lang' , 'canvas' ) ; // Allow publishing translation files, with tag: translations $ this -> publishes ( [ __DIR__ . '/../resources/lang' => base_path ( 'resources/lang/vendor/canvas' ) , ] , 'translations' ) ; }
Translation files.
Translation files .