

def load_gettext_translations(directories, domain):
    assert isinstance(directories, (tuple, list, set, frozenset)), 'directories must be a list or tuple'
    t_locale._translations = {
        
    }
    t_locale._use_gettext = True
    for directory in set(directories):
        if (not os.path.exists(directory)):
            continue
        _load_translation(directories, domain)
    t_locale._supported_locales = frozenset(t_locale._translations.keys())

dataset/ETHPy150Open niwinz/tornado-webtools/webtools/utils/locale.py load_gettext_translations/VarMisuse@75/101 `directory`->`directories`