def get_language_info(lang_code):
    from django.conf.locale import LANG_INFO
    try:
        return LANG_INFO[lang_code]
    except __HOLE__:
        raise KeyError("Unknown language code %r." % lang_code)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/utils/translation/__init__.py/get_language_info