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);
        }
    }