{"action":"created","issue":{"url":"https://api.github.com/repos/oppia/oppia/issues/2315","repository_url":"https://api.github.com/repos/oppia/oppia","labels_url":"https://api.github.com/repos/oppia/oppia/issues/2315/labels{/name}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/2315/comments","events_url":"https://api.github.com/repos/oppia/oppia/issues/2315/events","html_url":"https://github.com/oppia/oppia/pull/2315","id":168537487,"number":2315,"title":"Fix #2274: I18n.js: Use $translate.proposedLanguage to  eliminate blank field.","user":{"login":"abhsag24","id":8532031,"avatar_url":"https://avatars.githubusercontent.com/u/8532031?v=3","gravatar_id":"","url":"https://api.github.com/users/abhsag24","html_url":"https://github.com/abhsag24","followers_url":"https://api.github.com/users/abhsag24/followers","following_url":"https://api.github.com/users/abhsag24/following{/other_user}","gists_url":"https://api.github.com/users/abhsag24/gists{/gist_id}","starred_url":"https://api.github.com/users/abhsag24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhsag24/subscriptions","organizations_url":"https://api.github.com/users/abhsag24/orgs","repos_url":"https://api.github.com/users/abhsag24/repos","events_url":"https://api.github.com/users/abhsag24/events{/privacy}","received_events_url":"https://api.github.com/users/abhsag24/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oppia/oppia/labels/PR:%20don't%20merge%20-%20IN%20REVIEW","name":"PR: don't merge - IN REVIEW","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"526avijitgupta","id":7583815,"avatar_url":"https://avatars.githubusercontent.com/u/7583815?v=3","gravatar_id":"","url":"https://api.github.com/users/526avijitgupta","html_url":"https://github.com/526avijitgupta","followers_url":"https://api.github.com/users/526avijitgupta/followers","following_url":"https://api.github.com/users/526avijitgupta/following{/other_user}","gists_url":"https://api.github.com/users/526avijitgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/526avijitgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/526avijitgupta/subscriptions","organizations_url":"https://api.github.com/users/526avijitgupta/orgs","repos_url":"https://api.github.com/users/526avijitgupta/repos","events_url":"https://api.github.com/users/526avijitgupta/events{/privacy}","received_events_url":"https://api.github.com/users/526avijitgupta/received_events","type":"User","site_admin":false},"assignees":[{"login":"526avijitgupta","id":7583815,"avatar_url":"https://avatars.githubusercontent.com/u/7583815?v=3","gravatar_id":"","url":"https://api.github.com/users/526avijitgupta","html_url":"https://github.com/526avijitgupta","followers_url":"https://api.github.com/users/526avijitgupta/followers","following_url":"https://api.github.com/users/526avijitgupta/following{/other_user}","gists_url":"https://api.github.com/users/526avijitgupta/gists{/gist_id}","starred_url":"https://api.github.com/users/526avijitgupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/526avijitgupta/subscriptions","organizations_url":"https://api.github.com/users/526avijitgupta/orgs","repos_url":"https://api.github.com/users/526avijitgupta/repos","events_url":"https://api.github.com/users/526avijitgupta/events{/privacy}","received_events_url":"https://api.github.com/users/526avijitgupta/received_events","type":"User","site_admin":false},{"login":"souravbadami","id":11073943,"avatar_url":"https://avatars.githubusercontent.com/u/11073943?v=3","gravatar_id":"","url":"https://api.github.com/users/souravbadami","html_url":"https://github.com/souravbadami","followers_url":"https://api.github.com/users/souravbadami/followers","following_url":"https://api.github.com/users/souravbadami/following{/other_user}","gists_url":"https://api.github.com/users/souravbadami/gists{/gist_id}","starred_url":"https://api.github.com/users/souravbadami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/souravbadami/subscriptions","organizations_url":"https://api.github.com/users/souravbadami/orgs","repos_url":"https://api.github.com/users/souravbadami/repos","events_url":"https://api.github.com/users/souravbadami/events{/privacy}","received_events_url":"https://api.github.com/users/souravbadami/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-31T20:49:01Z","updated_at":"2016-08-01T12:27:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/2315","html_url":"https://github.com/oppia/oppia/pull/2315","diff_url":"https://github.com/oppia/oppia/pull/2315.diff","patch_url":"https://github.com/oppia/oppia/pull/2315.patch"},"body":"In order to get the currentLanguageCode use\r\n$translate.proposedLanguage() alongside $transalte.use()\r\nFixes https://github.com/oppia/oppia/issues/2274\r\n\r\ncurrentLanguageCode was set to undefined because the language file could not be loaded within the timeout, hence we got an empty blank field."},"comment":{"url":"https://api.github.com/repos/oppia/oppia/issues/comments/236566923","html_url":"https://github.com/oppia/oppia/pull/2315#issuecomment-236566923","issue_url":"https://api.github.com/repos/oppia/oppia/issues/2315","id":236566923,"user":{"login":"abhsag24","id":8532031,"avatar_url":"https://avatars.githubusercontent.com/u/8532031?v=3","gravatar_id":"","url":"https://api.github.com/users/abhsag24","html_url":"https://github.com/abhsag24","followers_url":"https://api.github.com/users/abhsag24/followers","following_url":"https://api.github.com/users/abhsag24/following{/other_user}","gists_url":"https://api.github.com/users/abhsag24/gists{/gist_id}","starred_url":"https://api.github.com/users/abhsag24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhsag24/subscriptions","organizations_url":"https://api.github.com/users/abhsag24/orgs","repos_url":"https://api.github.com/users/abhsag24/repos","events_url":"https://api.github.com/users/abhsag24/events{/privacy}","received_events_url":"https://api.github.com/users/abhsag24/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T12:27:18Z","updated_at":"2016-08-01T12:27:18Z","body":"added comments explaining why the change was needed and also included the reference link :)."}}
{"actor":{"display_login":"abhsag24"}}