code: def translate(self):
          translations = []
          for lang in settings.LANGUAGES:
              if lang[0] == self._get_default_language():
                  continue
              if self.translatable_slug is not None:
                  if self.translatable_slug not in self.translatable_fields:
                      self.translatable_fields = self.translatable_fields + (self.translatable_slug,)
              for field in self.translatable_fields:
                  trans, created = Translation.objects.get_or_create(
                      object_id=self.id,
                      content_type=ContentType.objects.get_for_model(self),
                      field=field,
                      lang=lang[0],
                  )
                  translations.append(trans)
          return translations