def gettext(value):
    global _translations

    if not settings.USE_I18N:
        return value

    language = get_language()
    if _translations not in language:
        _translations[language] = gettext_module.translation(
            domain='iso3166',
            localedir=pycountry.LOCALES_DIR,
            languages=[language],
            codeset='utf-8',
            fallback=True,
        )
    return _translations[language].gettext(value)
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/widgets/country.py/gettext/swapped operands of `not in`