Synchronizer/UpSynchronizer.php
public function synchronize()
    {
        // init project
        $projectDir = $this->createProjectDirectory();
        $this->finder->setPath($projectDir);
        $this->gitHandler->setProjectPath($projectDir);
        $this->gitHandler->cloneProject();

        /** @var UpdateFile $api */
        $api = $this->crowdinClient->api('update-file');

        foreach ($this->finder->getDefaultLocaleTranslations() as $localPath) {
            $crowdinPath = $this->mapper->local2crowdin($localPath);
            $api->addTranslation($localPath, $crowdinPath);
        }

        return $api->execute();
    }
public function synchronize()
    {
        // init project
        $projectDir = $this->createProjectDirectory();
        $this->finder->setPath($projectDir);
        $this->gitHandler->setProjectPath($projectDir);
        $this->gitHandler->cloneProject();

        /** @var UpdateFile $api */
        $api = $this->crowdinClient->api('update-file');

        foreach ($this->finder->getDefaultLocaleTranslations() as $localPath) {
            $crowdinPath = $this->mapper->local2crowdin($localPath);
            $api->addTranslation($localPath, $crowdinPath);
        }

        return $api->execute();
    }
{@inheritdoc}