@transaction.commit_on_success
    def delete(self):
        TranslationModel.objects.filter(
            resource=self.resource,
            language=self.language
        ).delete()
        invalidate_stats_cache(
            self.resource, self.language, user=self.request.user
        )
Delete a specific translation.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/api.py/Translation.delete