public function downloadAllTranslations()
    {
        $data = [];
        foreach ($this->projects as $name => $config) {
            if (empty($config['domains'])) {
                $this->getUrls($data, $config, $name, false);
            } else {
                foreach ($config['domains'] as $domain) {
                    $this->getUrls($data, $config, $domain, true);
                }
            }
        }
        $this->requestManager->downloadFiles($this->filesystemService, $data);
    }
public function downloadAllTranslations()
    {
        $data = [];
        foreach ($this->projects as $name => $config) {
            if (empty($config['domains'])) {
                $this->getUrls($data, $config, $name, false);
            } else {
                foreach ($config['domains'] as $domain) {
                    $this->getUrls($data, $config, $domain, true);
                }
            }
        }
        $this->requestManager->downloadFiles($this->filesystemService, $data);
    }
public function downloadAllTranslations ( ) { $ data = [ ] ; foreach ( $ this -> projects as $ name => $ config ) { if ( empty ( $ config [ 'domains' ] ) ) { $ this -> getUrls ( $ data , $ config , $ name , false ) ; } else { foreach ( $ config [ 'domains' ] as $ domain ) { $ this -> getUrls ( $ data , $ config , $ domain , true ) ; } } } $ this -> requestManager -> downloadFiles ( $ this -> filesystemService , $ data ) ; }
Download all the translations from Loco. This will replace all the local files.
This is a quick method of getting all the latest translations and assets.
Download all the translations from Loco . This will replace all the local files . This is a quick method of getting all the latest translations and assets .