@classmethod
    def extract_field_raw_translations(cls, obj, field, db_field=None):
        if db_field is None:
            db_field = '%s_id' % field

        extend_with_me = {
            '%s_translations' % field: [
                {'lang': to_language(lang), 'string': string}
                for lang, string in obj.translations[getattr(obj, db_field)]
                if string
            ]
        }
        return extend_with_me
Returns a dict containing raw translations that we need to store for
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/indexers.py/BaseSearchIndexer.extract_field_raw_translations