def event_names(lang="en"):
    """This resource returns an unordered list of the localized event names
    for the specified language.

    :param lang: The language to query the names for.
    :return: A dictionary where the key is the event id and the value is the
             name of the event in the specified language.

    """
    cache_name = "event_names.%s.json" % lang
    data = get_cached("event_names.json", cache_name, params=dict(lang=lang))
    return dict([(event["id"], event["name"]) for event in data])