def _pop_translated_data(self):
        """
        Separate data of translated fields from other data.
        """
        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
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.