src/Core/Console/PluginInstallCommand.php
protected function setTranslationFile($name, array $headers)
    {
        $this->info('Set plugin translation file...');

        $textdomain = trim($headers['text_domain'], '\/ _-');
        $from = $this->path($name.'/languages/plugin-textdomain-en_US.po');
        $to = $this->path($name.'/languages/'.$textdomain.'-en_US.po');

        $this->files->move($from, $to);
    }
protected function setTranslationFile($name, array $headers)
    {
        $this->info('Set plugin translation file...');

        $textdomain = trim($headers['text_domain'], '\/ _-');
        $from = $this->path($name.'/languages/plugin-textdomain-en_US.po');
        $to = $this->path($name.'/languages/'.$textdomain.'-en_US.po');

        $this->files->move($from, $to);
    }
protected function setTranslationFile ( $ name , array $ headers ) { $ this -> info ( 'Set plugin translation file...' ) ; $ textdomain = trim ( $ headers [ 'text_domain' ] , '\/ _-' ) ; $ from = $ this -> path ( $ name . '/languages/plugin-textdomain-en_US.po' ) ; $ to = $ this -> path ( $ name . '/languages/' . $ textdomain . '-en_US.po' ) ; $ this -> files -> move ( $ from , $ to ) ; }
Set the plugin translation file.

@param string $name
@param array  $headers
Set the plugin translation file .