{"action":"opened","number":8196,"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196","id":141723671,"html_url":"https://github.com/RocketChat/Rocket.Chat/pull/8196","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/8196.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/8196.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8196","number":8196,"state":"open","locked":false,"title":"[NEW] Feature/livechat translation","user":{"login":"icosamuel","id":5400332,"avatar_url":"https://avatars0.githubusercontent.com/u/5400332?v=4","gravatar_id":"","url":"https://api.github.com/users/icosamuel","html_url":"https://github.com/icosamuel","followers_url":"https://api.github.com/users/icosamuel/followers","following_url":"https://api.github.com/users/icosamuel/following{/other_user}","gists_url":"https://api.github.com/users/icosamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/icosamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icosamuel/subscriptions","organizations_url":"https://api.github.com/users/icosamuel/orgs","repos_url":"https://api.github.com/users/icosamuel/repos","events_url":"https://api.github.com/users/icosamuel/events{/privacy}","received_events_url":"https://api.github.com/users/icosamuel/received_events","type":"User","site_admin":false},"body":"@RocketChat/core \r\nCloses #8105\r\n\r\nThere is already a discussion opened in the issue\r\nThis is a WIP, but I wanted to share my work for feedback and tips\r\n\r\nThings that were changed up to this day:\r\n - Added an API language setting for Livechat\r\n - Added a Language parameter to Meteor.GetInitialData\r\n - Added a Language Dropdown in the Livechat configurations\r\n - New saveAppearanceFunction in the server, splitted by static and user-defined vars\r\n \r\nThings I know are on the TODO list:\r\n - New MongoDB Collection\r\n - New model that goes with it\r\n - Reload the Livechat configs when the Language dropdown chganges\r\n - Save the settings according to the selected language\r\n - Load the appropriate languages (with english fallback) when requested by GetInitialData\r\n","created_at":"2017-09-18T23:01:30Z","updated_at":"2017-09-18T23:01:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8196/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/aaead66f5c5e75dabd496fa75d17520f20792415","head":{"label":"icosamuel:feature/livechat_translation","ref":"feature/livechat_translation","sha":"aaead66f5c5e75dabd496fa75d17520f20792415","user":{"login":"icosamuel","id":5400332,"avatar_url":"https://avatars0.githubusercontent.com/u/5400332?v=4","gravatar_id":"","url":"https://api.github.com/users/icosamuel","html_url":"https://github.com/icosamuel","followers_url":"https://api.github.com/users/icosamuel/followers","following_url":"https://api.github.com/users/icosamuel/following{/other_user}","gists_url":"https://api.github.com/users/icosamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/icosamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icosamuel/subscriptions","organizations_url":"https://api.github.com/users/icosamuel/orgs","repos_url":"https://api.github.com/users/icosamuel/repos","events_url":"https://api.github.com/users/icosamuel/events{/privacy}","received_events_url":"https://api.github.com/users/icosamuel/received_events","type":"User","site_admin":false},"repo":{"id":102514389,"name":"Rocket.Chat","full_name":"icosamuel/Rocket.Chat","owner":{"login":"icosamuel","id":5400332,"avatar_url":"https://avatars0.githubusercontent.com/u/5400332?v=4","gravatar_id":"","url":"https://api.github.com/users/icosamuel","html_url":"https://github.com/icosamuel","followers_url":"https://api.github.com/users/icosamuel/followers","following_url":"https://api.github.com/users/icosamuel/following{/other_user}","gists_url":"https://api.github.com/users/icosamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/icosamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icosamuel/subscriptions","organizations_url":"https://api.github.com/users/icosamuel/orgs","repos_url":"https://api.github.com/users/icosamuel/repos","events_url":"https://api.github.com/users/icosamuel/events{/privacy}","received_events_url":"https://api.github.com/users/icosamuel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/icosamuel/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":true,"url":"https://api.github.com/repos/icosamuel/Rocket.Chat","forks_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/icosamuel/Rocket.Chat/deployments","created_at":"2017-09-05T18:10:50Z","updated_at":"2017-09-05T18:10:56Z","pushed_at":"2017-09-18T22:21:24Z","git_url":"git://github.com/icosamuel/Rocket.Chat.git","ssh_url":"git@github.com:icosamuel/Rocket.Chat.git","clone_url":"https://github.com/icosamuel/Rocket.Chat.git","svn_url":"https://github.com/icosamuel/Rocket.Chat","homepage":"https://rocket.chat/","size":52264,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"5cd459a8ea1f1b7511f8711038701008ab1b0cd2","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":35866694,"name":"Rocket.Chat","full_name":"RocketChat/Rocket.Chat","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/deployments","created_at":"2015-05-19T07:36:09Z","updated_at":"2017-09-18T19:24:10Z","pushed_at":"2017-09-18T23:01:15Z","git_url":"git://github.com/RocketChat/Rocket.Chat.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.git","svn_url":"https://github.com/RocketChat/Rocket.Chat","homepage":"https://rocket.chat/","size":52489,"stargazers_count":13909,"watchers_count":13909,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2904,"mirror_url":null,"open_issues_count":1968,"forks":2904,"open_issues":1968,"watchers":13909,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/8196"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8196"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/8196/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/8196/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/aaead66f5c5e75dabd496fa75d17520f20792415"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":125,"deletions":24,"changed_files":11}}
{"actor":{"display_login":"icosamuel"}}