src/Translation/Service/TranslationService.php
public function translate(Translatable $model)
    {
        $properties = $this->getProperties($model);

        foreach ($properties as $property) {
            $get = 'get'.$property->getName();
            $set = 'set'.$property->getName();
            $values = [];

            foreach ($model->getTranslations() as $translation) {
                $values[$translation->getLocale()] = $translation->$get();
            }

            $model->$set($values);
        }
    }
public function translate(Translatable $model)
    {
        $properties = $this->getProperties($model);

        foreach ($properties as $property) {
            $get = 'get'.$property->getName();
            $set = 'set'.$property->getName();
            $values = [];

            foreach ($model->getTranslations() as $translation) {
                $values[$translation->getLocale()] = $translation->$get();
            }

            $model->$set($values);
        }
    }
Translate translatable properties

@param \Ds\Component\Translation\Model\Type\Translatable $model