{"action":"reopened","issue":{"url":"https://api.github.com/repos/python-babel/babel/issues/107","labels_url":"https://api.github.com/repos/python-babel/babel/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/python-babel/babel/issues/107/comments","events_url":"https://api.github.com/repos/python-babel/babel/issues/107/events","html_url":"https://github.com/python-babel/babel/issues/107","id":39027176,"number":107,"title":"format_timedelta throws a KeyError for the Esperanto locale","user":{"login":"oakes","id":216147,"avatar_url":"https://avatars.githubusercontent.com/u/216147?v=3","gravatar_id":"","url":"https://api.github.com/users/oakes","html_url":"https://github.com/oakes","followers_url":"https://api.github.com/users/oakes/followers","following_url":"https://api.github.com/users/oakes/following{/other_user}","gists_url":"https://api.github.com/users/oakes/gists{/gist_id}","starred_url":"https://api.github.com/users/oakes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oakes/subscriptions","organizations_url":"https://api.github.com/users/oakes/orgs","repos_url":"https://api.github.com/users/oakes/repos","events_url":"https://api.github.com/users/oakes/events{/privacy}","received_events_url":"https://api.github.com/users/oakes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-07-29T19:42:57Z","updated_at":"2015-09-29T08:49:08Z","closed_at":null,"body":"With version 1.3, I have the following code:\r\n\r\n    format_timedelta(dt - utcnow(), add_direction=True, locale=loc)\r\n\r\nWhen `loc` is \"eo\", I get the following error:\r\n\r\n    Traceback (most recent call last):                                                               \r\n      File \"/<snip>/www.gittip.com/env/local/lib/python2.7/site-packages/algorithm.py\", line 288, in run\r\n        new_state = function(**deps.as_kwargs)                                                       \r\n      File \"/<snip>/www.gittip.com/env/local/lib/python2.7/site-packages/aspen/algorithms/website.py\", line 75, in get_response_for_resource\r\n        return {'response': resource.respond(request)}                                               \r\n      File \"/<snip>/www.gittip.com/env/local/lib/python2.7/site-packages/aspen/resources/dynamic_resource.py\", line 56, in respond\r\n        exec self.pages[1] in context                                                                \r\n      File \"/<snip>/www.gittip.com/www/%username/history/index.html.spt\", line 15, in <module>       \r\n        JOINED = _(\"You joined {0}.\").format(to_age(participant.claimed_time))                       \r\n      File \"/<snip>/www.gittip.com/gittip/utils/i18n.py\", line 53, in _to_age                        \r\n        return to_age(delta, loc)                                                                    \r\n      File \"/<snip>/www.gittip.com/gittip/utils/i18n.py\", line 14, in to_age                         \r\n        return format_timedelta(dt - utcnow(), add_direction=True, locale=loc)                       \r\n      File \"/<snip>/www.gittip.com/env/local/lib/python2.7/site-packages/babel/dates.py\", line 784, in format_timedelta\r\n        pattern = patterns[plural_form]                                                              \r\n      File \"/<snip>/www.gittip.com/env/local/lib/python2.7/site-packages/babel/localedata.py\", line 189, in __getitem__\r\n        orig = val = self._data[key]                                                                 \r\n    KeyError: 'one'"}}