{"action":"created","comment":{"url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/comments/47450330","id":47450330,"diff_hunk":"@@ -5,7 +5,7 @@ angular.module('pascalprecht.translate')\n  * @requires $compile\n  * @requires $filter\n  * @requires $interpolate\n- * @restrict A","path":"src/directive/translate.js","position":4,"original_position":4,"commit_id":"7e8d500ce4100b034b0a2387a6c39196258ae6f5","original_commit_id":"7e8d500ce4100b034b0a2387a6c39196258ae6f5","user":{"login":"knalli","id":65389,"avatar_url":"https://avatars.githubusercontent.com/u/65389?v=3","gravatar_id":"","url":"https://api.github.com/users/knalli","html_url":"https://github.com/knalli","followers_url":"https://api.github.com/users/knalli/followers","following_url":"https://api.github.com/users/knalli/following{/other_user}","gists_url":"https://api.github.com/users/knalli/gists{/gist_id}","starred_url":"https://api.github.com/users/knalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knalli/subscriptions","organizations_url":"https://api.github.com/users/knalli/orgs","repos_url":"https://api.github.com/users/knalli/repos","events_url":"https://api.github.com/users/knalli/events{/privacy}","received_events_url":"https://api.github.com/users/knalli/received_events","type":"User","site_admin":false},"body":"why?","created_at":"2015-12-13T21:21:37Z","updated_at":"2015-12-13T21:21:37Z","html_url":"https://github.com/angular-translate/angular-translate/pull/1328#discussion_r47450330","pull_request_url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328","_links":{"self":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/comments/47450330"},"html":{"href":"https://github.com/angular-translate/angular-translate/pull/1328#discussion_r47450330"},"pull_request":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328"}}},"pull_request":{"url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328","id":53278569,"html_url":"https://github.com/angular-translate/angular-translate/pull/1328","diff_url":"https://github.com/angular-translate/angular-translate/pull/1328.diff","patch_url":"https://github.com/angular-translate/angular-translate/pull/1328.patch","issue_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1328","number":1328,"state":"open","locked":false,"title":"feat(service): force language used for translating","user":{"login":"odedniv","id":894198,"avatar_url":"https://avatars.githubusercontent.com/u/894198?v=3","gravatar_id":"","url":"https://api.github.com/users/odedniv","html_url":"https://github.com/odedniv","followers_url":"https://api.github.com/users/odedniv/followers","following_url":"https://api.github.com/users/odedniv/following{/other_user}","gists_url":"https://api.github.com/users/odedniv/gists{/gist_id}","starred_url":"https://api.github.com/users/odedniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odedniv/subscriptions","organizations_url":"https://api.github.com/users/odedniv/orgs","repos_url":"https://api.github.com/users/odedniv/repos","events_url":"https://api.github.com/users/odedniv/events{/privacy}","received_events_url":"https://api.github.com/users/odedniv/received_events","type":"User","site_admin":false},"body":"support multiple languages in the same template (discussed in #500) by\r\nallowing to force the used language through:\r\n\r\n* a parameter in $translate() and $translate.instant().\r\n* scope variable for the translate directive, including a directive to\r\n  change that variable.\r\n* a parameter in translate filter.","created_at":"2015-12-10T16:06:41Z","updated_at":"2015-12-13T21:21:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec9b7124c85d4f98be4d6a12fd9dbae48d6ed1b2","assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-translate/angular-translate/milestones/25","html_url":"https://github.com/angular-translate/angular-translate/milestones/2.9.0","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/milestones/25/labels","id":1313933,"number":25,"title":"2.9.0","description":"","creator":{"login":"knalli","id":65389,"avatar_url":"https://avatars.githubusercontent.com/u/65389?v=3","gravatar_id":"","url":"https://api.github.com/users/knalli","html_url":"https://github.com/knalli","followers_url":"https://api.github.com/users/knalli/followers","following_url":"https://api.github.com/users/knalli/following{/other_user}","gists_url":"https://api.github.com/users/knalli/gists{/gist_id}","starred_url":"https://api.github.com/users/knalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knalli/subscriptions","organizations_url":"https://api.github.com/users/knalli/orgs","repos_url":"https://api.github.com/users/knalli/repos","events_url":"https://api.github.com/users/knalli/events{/privacy}","received_events_url":"https://api.github.com/users/knalli/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-09-18T19:25:01Z","updated_at":"2015-12-13T21:21:03Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328/commits","review_comments_url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328/comments","review_comment_url":"https://api.github.com/repos/angular-translate/angular-translate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1328/comments","statuses_url":"https://api.github.com/repos/angular-translate/angular-translate/statuses/7e8d500ce4100b034b0a2387a6c39196258ae6f5","head":{"label":"odedniv:force-language","ref":"force-language","sha":"7e8d500ce4100b034b0a2387a6c39196258ae6f5","user":{"login":"odedniv","id":894198,"avatar_url":"https://avatars.githubusercontent.com/u/894198?v=3","gravatar_id":"","url":"https://api.github.com/users/odedniv","html_url":"https://github.com/odedniv","followers_url":"https://api.github.com/users/odedniv/followers","following_url":"https://api.github.com/users/odedniv/following{/other_user}","gists_url":"https://api.github.com/users/odedniv/gists{/gist_id}","starred_url":"https://api.github.com/users/odedniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odedniv/subscriptions","organizations_url":"https://api.github.com/users/odedniv/orgs","repos_url":"https://api.github.com/users/odedniv/repos","events_url":"https://api.github.com/users/odedniv/events{/privacy}","received_events_url":"https://api.github.com/users/odedniv/received_events","type":"User","site_admin":false},"repo":{"id":47762066,"name":"angular-translate","full_name":"odedniv/angular-translate","owner":{"login":"odedniv","id":894198,"avatar_url":"https://avatars.githubusercontent.com/u/894198?v=3","gravatar_id":"","url":"https://api.github.com/users/odedniv","html_url":"https://github.com/odedniv","followers_url":"https://api.github.com/users/odedniv/followers","following_url":"https://api.github.com/users/odedniv/following{/other_user}","gists_url":"https://api.github.com/users/odedniv/gists{/gist_id}","starred_url":"https://api.github.com/users/odedniv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odedniv/subscriptions","organizations_url":"https://api.github.com/users/odedniv/orgs","repos_url":"https://api.github.com/users/odedniv/repos","events_url":"https://api.github.com/users/odedniv/events{/privacy}","received_events_url":"https://api.github.com/users/odedniv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odedniv/angular-translate","description":"i18n in your Angular apps, made easy.","fork":true,"url":"https://api.github.com/repos/odedniv/angular-translate","forks_url":"https://api.github.com/repos/odedniv/angular-translate/forks","keys_url":"https://api.github.com/repos/odedniv/angular-translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odedniv/angular-translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odedniv/angular-translate/teams","hooks_url":"https://api.github.com/repos/odedniv/angular-translate/hooks","issue_events_url":"https://api.github.com/repos/odedniv/angular-translate/issues/events{/number}","events_url":"https://api.github.com/repos/odedniv/angular-translate/events","assignees_url":"https://api.github.com/repos/odedniv/angular-translate/assignees{/user}","branches_url":"https://api.github.com/repos/odedniv/angular-translate/branches{/branch}","tags_url":"https://api.github.com/repos/odedniv/angular-translate/tags","blobs_url":"https://api.github.com/repos/odedniv/angular-translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odedniv/angular-translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odedniv/angular-translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/odedniv/angular-translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odedniv/angular-translate/statuses/{sha}","languages_url":"https://api.github.com/repos/odedniv/angular-translate/languages","stargazers_url":"https://api.github.com/repos/odedniv/angular-translate/stargazers","contributors_url":"https://api.github.com/repos/odedniv/angular-translate/contributors","subscribers_url":"https://api.github.com/repos/odedniv/angular-translate/subscribers","subscription_url":"https://api.github.com/repos/odedniv/angular-translate/subscription","commits_url":"https://api.github.com/repos/odedniv/angular-translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/odedniv/angular-translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/odedniv/angular-translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/odedniv/angular-translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/odedniv/angular-translate/contents/{+path}","compare_url":"https://api.github.com/repos/odedniv/angular-translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odedniv/angular-translate/merges","archive_url":"https://api.github.com/repos/odedniv/angular-translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odedniv/angular-translate/downloads","issues_url":"https://api.github.com/repos/odedniv/angular-translate/issues{/number}","pulls_url":"https://api.github.com/repos/odedniv/angular-translate/pulls{/number}","milestones_url":"https://api.github.com/repos/odedniv/angular-translate/milestones{/number}","notifications_url":"https://api.github.com/repos/odedniv/angular-translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odedniv/angular-translate/labels{/name}","releases_url":"https://api.github.com/repos/odedniv/angular-translate/releases{/id}","created_at":"2015-12-10T13:03:32Z","updated_at":"2015-12-10T13:03:33Z","pushed_at":"2015-12-10T16:04:58Z","git_url":"git://github.com/odedniv/angular-translate.git","ssh_url":"git@github.com:odedniv/angular-translate.git","clone_url":"https://github.com/odedniv/angular-translate.git","svn_url":"https://github.com/odedniv/angular-translate","homepage":"https://angular-translate.github.io","size":3179,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"angular-translate:canary","ref":"canary","sha":"c22c727b8382852f61d3c39eb8ac29fce5029554","user":{"login":"angular-translate","id":6117835,"avatar_url":"https://avatars.githubusercontent.com/u/6117835?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-translate","html_url":"https://github.com/angular-translate","followers_url":"https://api.github.com/users/angular-translate/followers","following_url":"https://api.github.com/users/angular-translate/following{/other_user}","gists_url":"https://api.github.com/users/angular-translate/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-translate/subscriptions","organizations_url":"https://api.github.com/users/angular-translate/orgs","repos_url":"https://api.github.com/users/angular-translate/repos","events_url":"https://api.github.com/users/angular-translate/events{/privacy}","received_events_url":"https://api.github.com/users/angular-translate/received_events","type":"Organization","site_admin":false},"repo":{"id":9076111,"name":"angular-translate","full_name":"angular-translate/angular-translate","owner":{"login":"angular-translate","id":6117835,"avatar_url":"https://avatars.githubusercontent.com/u/6117835?v=3","gravatar_id":"","url":"https://api.github.com/users/angular-translate","html_url":"https://github.com/angular-translate","followers_url":"https://api.github.com/users/angular-translate/followers","following_url":"https://api.github.com/users/angular-translate/following{/other_user}","gists_url":"https://api.github.com/users/angular-translate/gists{/gist_id}","starred_url":"https://api.github.com/users/angular-translate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular-translate/subscriptions","organizations_url":"https://api.github.com/users/angular-translate/orgs","repos_url":"https://api.github.com/users/angular-translate/repos","events_url":"https://api.github.com/users/angular-translate/events{/privacy}","received_events_url":"https://api.github.com/users/angular-translate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular-translate/angular-translate","description":"i18n in your Angular apps, made easy.","fork":false,"url":"https://api.github.com/repos/angular-translate/angular-translate","forks_url":"https://api.github.com/repos/angular-translate/angular-translate/forks","keys_url":"https://api.github.com/repos/angular-translate/angular-translate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular-translate/angular-translate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular-translate/angular-translate/teams","hooks_url":"https://api.github.com/repos/angular-translate/angular-translate/hooks","issue_events_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/events{/number}","events_url":"https://api.github.com/repos/angular-translate/angular-translate/events","assignees_url":"https://api.github.com/repos/angular-translate/angular-translate/assignees{/user}","branches_url":"https://api.github.com/repos/angular-translate/angular-translate/branches{/branch}","tags_url":"https://api.github.com/repos/angular-translate/angular-translate/tags","blobs_url":"https://api.github.com/repos/angular-translate/angular-translate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular-translate/angular-translate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular-translate/angular-translate/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular-translate/angular-translate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular-translate/angular-translate/statuses/{sha}","languages_url":"https://api.github.com/repos/angular-translate/angular-translate/languages","stargazers_url":"https://api.github.com/repos/angular-translate/angular-translate/stargazers","contributors_url":"https://api.github.com/repos/angular-translate/angular-translate/contributors","subscribers_url":"https://api.github.com/repos/angular-translate/angular-translate/subscribers","subscription_url":"https://api.github.com/repos/angular-translate/angular-translate/subscription","commits_url":"https://api.github.com/repos/angular-translate/angular-translate/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular-translate/angular-translate/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular-translate/angular-translate/contents/{+path}","compare_url":"https://api.github.com/repos/angular-translate/angular-translate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular-translate/angular-translate/merges","archive_url":"https://api.github.com/repos/angular-translate/angular-translate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular-translate/angular-translate/downloads","issues_url":"https://api.github.com/repos/angular-translate/angular-translate/issues{/number}","pulls_url":"https://api.github.com/repos/angular-translate/angular-translate/pulls{/number}","milestones_url":"https://api.github.com/repos/angular-translate/angular-translate/milestones{/number}","notifications_url":"https://api.github.com/repos/angular-translate/angular-translate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/labels{/name}","releases_url":"https://api.github.com/repos/angular-translate/angular-translate/releases{/id}","created_at":"2013-03-28T11:56:30Z","updated_at":"2015-12-13T11:37:00Z","pushed_at":"2015-12-13T19:15:54Z","git_url":"git://github.com/angular-translate/angular-translate.git","ssh_url":"git@github.com:angular-translate/angular-translate.git","clone_url":"https://github.com/angular-translate/angular-translate.git","svn_url":"https://github.com/angular-translate/angular-translate","homepage":"https://angular-translate.github.io","size":6969,"stargazers_count":3233,"watchers_count":3233,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":446,"mirror_url":null,"open_issues_count":102,"forks":446,"open_issues":102,"watchers":3233,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328"},"html":{"href":"https://github.com/angular-translate/angular-translate/pull/1328"},"issue":{"href":"https://api.github.com/repos/angular-translate/angular-translate/issues/1328"},"comments":{"href":"https://api.github.com/repos/angular-translate/angular-translate/issues/1328/comments"},"review_comments":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328/comments"},"review_comment":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular-translate/angular-translate/pulls/1328/commits"},"statuses":{"href":"https://api.github.com/repos/angular-translate/angular-translate/statuses/7e8d500ce4100b034b0a2387a6c39196258ae6f5"}}}}