{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/32241434","id":32241434,"diff_hunk":"@@ -127,6 +141,22 @@ def test_jsi18n_with_missing_en_files(self):\n             response = self.client.get('/jsi18n/')\n             self.assertNotContains(response, 'esto tiene que ser traducido')\n \n+    def test_jsoni18n_with_missing_en_files(self):\n+        u\"\"\"","path":"tests/view_tests/tests/test_i18n.py","position":26,"original_position":26,"commit_id":"bca92e21a6aa596bb8e5820c828c3f2f9bc80bad","original_commit_id":"bca92e21a6aa596bb8e5820c828c3f2f9bc80bad","user":{"login":"timgraham","id":411869,"avatar_url":"https://avatars.githubusercontent.com/u/411869?v=3","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"body":"chop u","created_at":"2015-06-11T16:44:34Z","updated_at":"2015-06-11T16:44:34Z","html_url":"https://github.com/django/django/pull/4808#discussion_r32241434","pull_request_url":"https://api.github.com/repos/django/django/pulls/4808","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/32241434"},"html":{"href":"https://github.com/django/django/pull/4808#discussion_r32241434"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/4808"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/4808","id":37034746,"html_url":"https://github.com/django/django/pull/4808","diff_url":"https://github.com/django/django/pull/4808.diff","patch_url":"https://github.com/django/django/pull/4808.patch","issue_url":"https://api.github.com/repos/django/django/issues/4808","number":4808,"state":"open","locked":false,"title":"Fixed #22404 -- Added a view that exposes i18n catalog as a JSON","user":{"login":"sergeykolosov","id":195126,"avatar_url":"https://avatars.githubusercontent.com/u/195126?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeykolosov","html_url":"https://github.com/sergeykolosov","followers_url":"https://api.github.com/users/sergeykolosov/followers","following_url":"https://api.github.com/users/sergeykolosov/following{/other_user}","gists_url":"https://api.github.com/users/sergeykolosov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeykolosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeykolosov/subscriptions","organizations_url":"https://api.github.com/users/sergeykolosov/orgs","repos_url":"https://api.github.com/users/sergeykolosov/repos","events_url":"https://api.github.com/users/sergeykolosov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeykolosov/received_events","type":"User","site_admin":false},"body":"Added a ``json_catalog`` view to ``django.views.i18n``, which returns a JSON response containing translations, formats, and a plural expression for the specified language.\r\n\r\nBased on @manologab's solution https://github.com/manologab/django/tree/ticket_22404, somewhat refactored, with tests improved and documentation added.","created_at":"2015-06-05T14:11:35Z","updated_at":"2015-06-11T16:44:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6cc65ba3ebebfacfe3eeb834bd550858b4c5af7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/4808/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/4808/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/4808/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/bca92e21a6aa596bb8e5820c828c3f2f9bc80bad","head":{"label":"sergeykolosov:ticket_22404","ref":"ticket_22404","sha":"bca92e21a6aa596bb8e5820c828c3f2f9bc80bad","user":{"login":"sergeykolosov","id":195126,"avatar_url":"https://avatars.githubusercontent.com/u/195126?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeykolosov","html_url":"https://github.com/sergeykolosov","followers_url":"https://api.github.com/users/sergeykolosov/followers","following_url":"https://api.github.com/users/sergeykolosov/following{/other_user}","gists_url":"https://api.github.com/users/sergeykolosov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeykolosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeykolosov/subscriptions","organizations_url":"https://api.github.com/users/sergeykolosov/orgs","repos_url":"https://api.github.com/users/sergeykolosov/repos","events_url":"https://api.github.com/users/sergeykolosov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeykolosov/received_events","type":"User","site_admin":false},"repo":{"id":10138638,"name":"django","full_name":"sergeykolosov/django","owner":{"login":"sergeykolosov","id":195126,"avatar_url":"https://avatars.githubusercontent.com/u/195126?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeykolosov","html_url":"https://github.com/sergeykolosov","followers_url":"https://api.github.com/users/sergeykolosov/followers","following_url":"https://api.github.com/users/sergeykolosov/following{/other_user}","gists_url":"https://api.github.com/users/sergeykolosov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeykolosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeykolosov/subscriptions","organizations_url":"https://api.github.com/users/sergeykolosov/orgs","repos_url":"https://api.github.com/users/sergeykolosov/repos","events_url":"https://api.github.com/users/sergeykolosov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeykolosov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergeykolosov/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/sergeykolosov/django","forks_url":"https://api.github.com/repos/sergeykolosov/django/forks","keys_url":"https://api.github.com/repos/sergeykolosov/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergeykolosov/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergeykolosov/django/teams","hooks_url":"https://api.github.com/repos/sergeykolosov/django/hooks","issue_events_url":"https://api.github.com/repos/sergeykolosov/django/issues/events{/number}","events_url":"https://api.github.com/repos/sergeykolosov/django/events","assignees_url":"https://api.github.com/repos/sergeykolosov/django/assignees{/user}","branches_url":"https://api.github.com/repos/sergeykolosov/django/branches{/branch}","tags_url":"https://api.github.com/repos/sergeykolosov/django/tags","blobs_url":"https://api.github.com/repos/sergeykolosov/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergeykolosov/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergeykolosov/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergeykolosov/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergeykolosov/django/statuses/{sha}","languages_url":"https://api.github.com/repos/sergeykolosov/django/languages","stargazers_url":"https://api.github.com/repos/sergeykolosov/django/stargazers","contributors_url":"https://api.github.com/repos/sergeykolosov/django/contributors","subscribers_url":"https://api.github.com/repos/sergeykolosov/django/subscribers","subscription_url":"https://api.github.com/repos/sergeykolosov/django/subscription","commits_url":"https://api.github.com/repos/sergeykolosov/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergeykolosov/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergeykolosov/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergeykolosov/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergeykolosov/django/contents/{+path}","compare_url":"https://api.github.com/repos/sergeykolosov/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergeykolosov/django/merges","archive_url":"https://api.github.com/repos/sergeykolosov/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergeykolosov/django/downloads","issues_url":"https://api.github.com/repos/sergeykolosov/django/issues{/number}","pulls_url":"https://api.github.com/repos/sergeykolosov/django/pulls{/number}","milestones_url":"https://api.github.com/repos/sergeykolosov/django/milestones{/number}","notifications_url":"https://api.github.com/repos/sergeykolosov/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergeykolosov/django/labels{/name}","releases_url":"https://api.github.com/repos/sergeykolosov/django/releases{/id}","created_at":"2013-05-18T08:20:25Z","updated_at":"2015-03-20T10:28:40Z","pushed_at":"2015-06-06T16:42:41Z","git_url":"git://github.com/sergeykolosov/django.git","ssh_url":"git@github.com:sergeykolosov/django.git","clone_url":"https://github.com/sergeykolosov/django.git","svn_url":"https://github.com/sergeykolosov/django","homepage":"http://www.djangoproject.com/","size":124613,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"c2b4967e76fd671e6199e4dd54d2a2c1f096b8eb","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-06-11T16:26:35Z","pushed_at":"2015-06-11T16:22:28Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":294441,"stargazers_count":14596,"watchers_count":14596,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5831,"mirror_url":null,"open_issues_count":92,"forks":5831,"open_issues":92,"watchers":14596,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/4808"},"html":{"href":"https://github.com/django/django/pull/4808"},"issue":{"href":"https://api.github.com/repos/django/django/issues/4808"},"comments":{"href":"https://api.github.com/repos/django/django/issues/4808/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/4808/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/4808/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/bca92e21a6aa596bb8e5820c828c3f2f9bc80bad"}}}}