{"action":"created","issue":{"url":"https://api.github.com/repos/bcoe/yargs/issues/231","labels_url":"https://api.github.com/repos/bcoe/yargs/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/yargs/issues/231/comments","events_url":"https://api.github.com/repos/bcoe/yargs/issues/231/events","html_url":"https://github.com/bcoe/yargs/pull/231","id":101229361,"number":231,"title":"detect a user's locale using os-locale","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-16T03:10:36Z","updated_at":"2015-08-17T16:20:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bcoe/yargs/pulls/231","html_url":"https://github.com/bcoe/yargs/pull/231","diff_url":"https://github.com/bcoe/yargs/pull/231.diff","patch_url":"https://github.com/bcoe/yargs/pull/231.patch"},"body":"This pull moves us to phase 2.0 of locales in yargs, we now automatically detect the operating system's locale using @sindresorhus' [os-locale](https://github.com/sindresorhus/os-locale) module.\r\n\r\n```sh\r\nLC_ALL=pt_BR ./test.js --help\r\n```\r\n\r\noutputs:\r\n\r\n```sh\r\nOpções:\r\n  -h, --help  Mostra ajuda                                             [boolean]\r\n  --foo       what up fool                                          [padrão: 99]\r\n  --config    i be config yo                             [padrão: \"./cool.json\"]\r\n  -x                                                                [padrão: 10]\r\n```\r\n\r\nnow we just need to work on getting some more translations.\r\n\r\nreviewers: @nexdrew, @nylen"},"comment":{"url":"https://api.github.com/repos/bcoe/yargs/issues/comments/131878169","html_url":"https://github.com/bcoe/yargs/pull/231#issuecomment-131878169","issue_url":"https://api.github.com/repos/bcoe/yargs/issues/231","id":131878169,"user":{"login":"nexdrew","id":1929625,"avatar_url":"https://avatars.githubusercontent.com/u/1929625?v=3","gravatar_id":"","url":"https://api.github.com/users/nexdrew","html_url":"https://github.com/nexdrew","followers_url":"https://api.github.com/users/nexdrew/followers","following_url":"https://api.github.com/users/nexdrew/following{/other_user}","gists_url":"https://api.github.com/users/nexdrew/gists{/gist_id}","starred_url":"https://api.github.com/users/nexdrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nexdrew/subscriptions","organizations_url":"https://api.github.com/users/nexdrew/orgs","repos_url":"https://api.github.com/users/nexdrew/repos","events_url":"https://api.github.com/users/nexdrew/events{/privacy}","received_events_url":"https://api.github.com/users/nexdrew/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T16:20:39Z","updated_at":"2015-08-17T16:20:39Z","body":"On the outset, this LGTM, but I want to devote a little time to branch testing before I give the thumbs-up. Should be able to complete that later today."}}