app/Console/Commands/ModelMakeCommand.php
protected function generateTranslation()
    {
        $name = $this->qualifyClass($this->getNameInput());
        $path = $this->getTranslationPath($name);

        $this->makeDirectory($path);
        $this->files->put($path, $this->buildTranslation($name));

        $this->info('Translation also generated successfully.');
        $this->warn($path);
    }
protected function generateTranslation()
    {
        $name = $this->qualifyClass($this->getNameInput());
        $path = $this->getTranslationPath($name);

        $this->makeDirectory($path);
        $this->files->put($path, $this->buildTranslation($name));

        $this->info('Translation also generated successfully.');
        $this->warn($path);
    }
protected function generateTranslation ( ) { $ name = $ this -> qualifyClass ( $ this -> getNameInput ( ) ) ; $ path = $ this -> getTranslationPath ( $ name ) ; $ this -> makeDirectory ( $ path ) ; $ this -> files -> put ( $ path , $ this -> buildTranslation ( $ name ) ) ; $ this -> info ( 'Translation also generated successfully.' ) ; $ this -> warn ( $ path ) ; }
Generate Translation File
@return void
@throws \Illuminate\Contracts\Filesystem\FileNotFoundException
Generate Translation File