def set_translatable_content(self, fields):
    for (field, value) in fields.items():
        setattr(self, field, value)
    self.save()
    return all(((getattr(self, field) == value) for (field, value) in fields.items()))
def set_translatable_content(self, fields):
    for (field, value) in fields.items():
        setattr(self, field, value)
    self.save()
    return all(((getattr(self, field) == value) for (field, value) in fields.items()))