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

        extend_with_me = {}

        # Indices for each language. languages is a list of locales we want to
        # index with analyzer if the string's locale matches.
        for analyzer, languages in SEARCH_ANALYZER_MAP.iteritems():
            extend_with_me['%s_%s' % (field, analyzer)] = list(
                set(string for locale, string
                    in obj.translations[getattr(obj, db_field)]
                    if locale.lower() in languages))

        return extend_with_me
Returns a dict containing translations for each language-specific
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/indexers.py/BaseSearchIndexer.extract_field_analyzed_translations