src/Controller.php
// Exports all new translations in lang files or exports all new translations for particular group
Exports all new translations in lang files or exports all new translations for particular group
Exports all new translations in lang files or exports all new translations for particular group
public function postPublish($group = null)
    {
         $json = false;
        if($group === '_json'){
            $json = true;
        }
        $this->manager->exportTranslations($group, $json);
        return ['status' => 'ok'];
    }
public function postPublish ( $ group = null ) { $ json = false ; if ( $ group === '_json' ) { $ json = true ; } $ this -> manager -> exportTranslations ( $ group , $ json ) ; return [ 'status' => 'ok' ] ; }
Exports all new translations in lang files or exports all new translations for particular group
Exports all new translations in lang files or exports all new translations for particular group