def add_from_strings(self, strings):
        """Add the strings as suggestions.

        Args:
            strings: An iterable of strings to add as suggestions
        """
        for j in strings:
            # Check SE existence
            try:
                se = SourceEntity.objects.get(
                    string = j.source_entity, context = j.context or "None",
                    resource = self.resource
                )
            except SourceEntity.DoesNotExist:
                logger.warning(
                    "Source entity %s does not exist" % j.source_entity
                )
                continue
            Suggestion.objects.create(
                string = j.translation, source_entity = se,
                language = self.language
            )
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/addons/suggestions/formats.py/SuggestionFormat.add_from_strings/original