{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/openfun/edx-platform/pulls/8","id":53413159,"html_url":"https://github.com/openfun/edx-platform/pull/8","diff_url":"https://github.com/openfun/edx-platform/pull/8.diff","patch_url":"https://github.com/openfun/edx-platform/pull/8.patch","issue_url":"https://api.github.com/repos/openfun/edx-platform/issues/8","number":8,"state":"open","locked":false,"title":"Fix (un)enrollment email default language","user":{"login":"regisb","id":44319,"avatar_url":"https://avatars.githubusercontent.com/u/44319?v=3","gravatar_id":"","url":"https://api.github.com/users/regisb","html_url":"https://github.com/regisb","followers_url":"https://api.github.com/users/regisb/followers","following_url":"https://api.github.com/users/regisb/following{/other_user}","gists_url":"https://api.github.com/users/regisb/gists{/gist_id}","starred_url":"https://api.github.com/users/regisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regisb/subscriptions","organizations_url":"https://api.github.com/users/regisb/orgs","repos_url":"https://api.github.com/users/regisb/repos","events_url":"https://api.github.com/users/regisb/events{/privacy}","received_events_url":"https://api.github.com/users/regisb/received_events","type":"User","site_admin":false},"body":"When one or many users are sent an enrollment or unenrollment email via\r\nthe teacher subscription form, the emails are written in the user\r\nlanguage. If the user has no preferred language, e.g: when the user does\r\nnot exist, the platform language is supposed to be selected. In\r\npractice, the emails were not being translated at all.\r\n\r\nThis closes issue #2199.","created_at":"2015-12-11T16:26:17Z","updated_at":"2015-12-11T16:26:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openfun/edx-platform/pulls/8/commits","review_comments_url":"https://api.github.com/repos/openfun/edx-platform/pulls/8/comments","review_comment_url":"https://api.github.com/repos/openfun/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openfun/edx-platform/issues/8/comments","statuses_url":"https://api.github.com/repos/openfun/edx-platform/statuses/bfc112158053a2ed2317930b74ebbd43027894ba","head":{"label":"openfun:openfun/fix_default_email_localization","ref":"openfun/fix_default_email_localization","sha":"bfc112158053a2ed2317930b74ebbd43027894ba","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":18556835,"name":"edx-platform","full_name":"openfun/edx-platform","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/edx-platform","description":"the edX learning management system (LMS) and course authoring tool, Studio","fork":true,"url":"https://api.github.com/repos/openfun/edx-platform","forks_url":"https://api.github.com/repos/openfun/edx-platform/forks","keys_url":"https://api.github.com/repos/openfun/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/edx-platform/teams","hooks_url":"https://api.github.com/repos/openfun/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/openfun/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/edx-platform/events","assignees_url":"https://api.github.com/repos/openfun/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/edx-platform/tags","blobs_url":"https://api.github.com/repos/openfun/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/edx-platform/languages","stargazers_url":"https://api.github.com/repos/openfun/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/openfun/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/openfun/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/openfun/edx-platform/subscription","commits_url":"https://api.github.com/repos/openfun/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/edx-platform/merges","archive_url":"https://api.github.com/repos/openfun/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/edx-platform/downloads","issues_url":"https://api.github.com/repos/openfun/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/openfun/edx-platform/releases{/id}","created_at":"2014-04-08T12:11:06Z","updated_at":"2015-04-27T12:56:25Z","pushed_at":"2015-12-11T16:25:01Z","git_url":"git://github.com/openfun/edx-platform.git","ssh_url":"git@github.com:openfun/edx-platform.git","clone_url":"https://github.com/openfun/edx-platform.git","svn_url":"https://github.com/openfun/edx-platform","homepage":"http://code.edx.org/","size":497204,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"openfun:fun/release-3.1","ref":"fun/release-3.1","sha":"669d79565eb82a2eaa74ea5fe61836e19c3c16c5","user":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"repo":{"id":18556835,"name":"edx-platform","full_name":"openfun/edx-platform","owner":{"login":"openfun","id":7224891,"avatar_url":"https://avatars.githubusercontent.com/u/7224891?v=3","gravatar_id":"","url":"https://api.github.com/users/openfun","html_url":"https://github.com/openfun","followers_url":"https://api.github.com/users/openfun/followers","following_url":"https://api.github.com/users/openfun/following{/other_user}","gists_url":"https://api.github.com/users/openfun/gists{/gist_id}","starred_url":"https://api.github.com/users/openfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openfun/subscriptions","organizations_url":"https://api.github.com/users/openfun/orgs","repos_url":"https://api.github.com/users/openfun/repos","events_url":"https://api.github.com/users/openfun/events{/privacy}","received_events_url":"https://api.github.com/users/openfun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openfun/edx-platform","description":"the edX learning management system (LMS) and course authoring tool, Studio","fork":true,"url":"https://api.github.com/repos/openfun/edx-platform","forks_url":"https://api.github.com/repos/openfun/edx-platform/forks","keys_url":"https://api.github.com/repos/openfun/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openfun/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openfun/edx-platform/teams","hooks_url":"https://api.github.com/repos/openfun/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/openfun/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/openfun/edx-platform/events","assignees_url":"https://api.github.com/repos/openfun/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/openfun/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/openfun/edx-platform/tags","blobs_url":"https://api.github.com/repos/openfun/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openfun/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openfun/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/openfun/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openfun/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/openfun/edx-platform/languages","stargazers_url":"https://api.github.com/repos/openfun/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/openfun/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/openfun/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/openfun/edx-platform/subscription","commits_url":"https://api.github.com/repos/openfun/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/openfun/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/openfun/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/openfun/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/openfun/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/openfun/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openfun/edx-platform/merges","archive_url":"https://api.github.com/repos/openfun/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openfun/edx-platform/downloads","issues_url":"https://api.github.com/repos/openfun/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/openfun/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/openfun/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/openfun/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openfun/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/openfun/edx-platform/releases{/id}","created_at":"2014-04-08T12:11:06Z","updated_at":"2015-04-27T12:56:25Z","pushed_at":"2015-12-11T16:25:01Z","git_url":"git://github.com/openfun/edx-platform.git","ssh_url":"git@github.com:openfun/edx-platform.git","clone_url":"https://github.com/openfun/edx-platform.git","svn_url":"https://github.com/openfun/edx-platform","homepage":"http://code.edx.org/","size":497204,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openfun/edx-platform/pulls/8"},"html":{"href":"https://github.com/openfun/edx-platform/pull/8"},"issue":{"href":"https://api.github.com/repos/openfun/edx-platform/issues/8"},"comments":{"href":"https://api.github.com/repos/openfun/edx-platform/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/openfun/edx-platform/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/openfun/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openfun/edx-platform/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/openfun/edx-platform/statuses/bfc112158053a2ed2317930b74ebbd43027894ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":1,"changed_files":2}}