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

        extend_with_me = {
            field: list(
                set(s for _, s in obj.translations[getattr(obj, db_field)]))
        }
        return extend_with_me
Returns a dict containing all translations for the field, that will be
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/indexers.py/BaseSearchIndexer.extract_field_search_translations