def _pop_translated_data(self):
        translated_data = {}
        for meta in self.Meta.model._parler_meta:
            translations = self.validated_data.pop(meta.rel_name, {})
            if translations:
                translated_data[meta.rel_name] = translations
        return translated_data
Separate data of translated fields from other data.
dataset/ETHPy150Open edoburu/django-parler-rest/parler_rest/serializers.py/TranslatableModelSerializer._pop_translated_data