{"action":"created","issue":{"url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/58","repository_url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2","labels_url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/58/comments","events_url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/58/events","html_url":"https://github.com/ProgrammingDaisukiClub/WPCS2/pull/58","id":208824173,"number":58,"title":"internationalization. Close #8 / Close #32","user":{"login":"ShinyaKato","id":13827377,"avatar_url":"https://avatars.githubusercontent.com/u/13827377?v=3","gravatar_id":"","url":"https://api.github.com/users/ShinyaKato","html_url":"https://github.com/ShinyaKato","followers_url":"https://api.github.com/users/ShinyaKato/followers","following_url":"https://api.github.com/users/ShinyaKato/following{/other_user}","gists_url":"https://api.github.com/users/ShinyaKato/gists{/gist_id}","starred_url":"https://api.github.com/users/ShinyaKato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShinyaKato/subscriptions","organizations_url":"https://api.github.com/users/ShinyaKato/orgs","repos_url":"https://api.github.com/users/ShinyaKato/repos","events_url":"https://api.github.com/users/ShinyaKato/events{/privacy}","received_events_url":"https://api.github.com/users/ShinyaKato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"junk0612","id":4271086,"avatar_url":"https://avatars.githubusercontent.com/u/4271086?v=3","gravatar_id":"","url":"https://api.github.com/users/junk0612","html_url":"https://github.com/junk0612","followers_url":"https://api.github.com/users/junk0612/followers","following_url":"https://api.github.com/users/junk0612/following{/other_user}","gists_url":"https://api.github.com/users/junk0612/gists{/gist_id}","starred_url":"https://api.github.com/users/junk0612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk0612/subscriptions","organizations_url":"https://api.github.com/users/junk0612/orgs","repos_url":"https://api.github.com/users/junk0612/repos","events_url":"https://api.github.com/users/junk0612/events{/privacy}","received_events_url":"https://api.github.com/users/junk0612/received_events","type":"User","site_admin":false},"assignees":[{"login":"junk0612","id":4271086,"avatar_url":"https://avatars.githubusercontent.com/u/4271086?v=3","gravatar_id":"","url":"https://api.github.com/users/junk0612","html_url":"https://github.com/junk0612","followers_url":"https://api.github.com/users/junk0612/followers","following_url":"https://api.github.com/users/junk0612/following{/other_user}","gists_url":"https://api.github.com/users/junk0612/gists{/gist_id}","starred_url":"https://api.github.com/users/junk0612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junk0612/subscriptions","organizations_url":"https://api.github.com/users/junk0612/orgs","repos_url":"https://api.github.com/users/junk0612/repos","events_url":"https://api.github.com/users/junk0612/events{/privacy}","received_events_url":"https://api.github.com/users/junk0612/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-20T09:25:00Z","updated_at":"2017-02-22T15:24:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/pulls/58","html_url":"https://github.com/ProgrammingDaisukiClub/WPCS2/pull/58","diff_url":"https://github.com/ProgrammingDaisukiClub/WPCS2/pull/58.diff","patch_url":"https://github.com/ProgrammingDaisukiClub/WPCS2/pull/58.patch"},"body":"# What\r\n\r\ni18n対応しました\r\nやったのは\r\n* URLのパラメータ`?lang=en`などでlocaleが切り替わるようにフィルタを追加した\r\n* 英語と日本語の基本的な翻訳を`en.yml`, `ja.yml`追加\r\n  ここから取ってきてます\r\n  https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/ja.yml\r\n  https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml\r\n* deviseのi18n対応\r\n  devise-i18nっていうgem使ってます\r\n  ロケールファイルは`devise.en.yml`, `devise.views.en.yml`, `devise.ja.yml`, `devise.views.ja.yml`\r\n  `views.lang.yml`の方はgemで生成, `devise.ja.yml`はdeviseの公式の翻訳から取ってきてます"},"comment":{"url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/comments/281700741","html_url":"https://github.com/ProgrammingDaisukiClub/WPCS2/pull/58#issuecomment-281700741","issue_url":"https://api.github.com/repos/ProgrammingDaisukiClub/WPCS2/issues/58","id":281700741,"user":{"login":"ShinyaKato","id":13827377,"avatar_url":"https://avatars.githubusercontent.com/u/13827377?v=3","gravatar_id":"","url":"https://api.github.com/users/ShinyaKato","html_url":"https://github.com/ShinyaKato","followers_url":"https://api.github.com/users/ShinyaKato/followers","following_url":"https://api.github.com/users/ShinyaKato/following{/other_user}","gists_url":"https://api.github.com/users/ShinyaKato/gists{/gist_id}","starred_url":"https://api.github.com/users/ShinyaKato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShinyaKato/subscriptions","organizations_url":"https://api.github.com/users/ShinyaKato/orgs","repos_url":"https://api.github.com/users/ShinyaKato/repos","events_url":"https://api.github.com/users/ShinyaKato/events{/privacy}","received_events_url":"https://api.github.com/users/ShinyaKato/received_events","type":"User","site_admin":false},"created_at":"2017-02-22T15:24:09Z","updated_at":"2017-02-22T15:24:09Z","body":"よく見たらGemfile.lockなんか減ってますねぇ..."}}
{"actor":{"display_login":"ShinyaKato"}}