{"action":"created","issue":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/227","repository_url":"https://api.github.com/repos/GlotPress/GlotPress-WP","labels_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/227/comments","events_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/227/events","html_url":"https://github.com/GlotPress/GlotPress-WP/issues/227","id":127928594,"number":227,"title":"Locale Glossaries (Global glossaries across projects)","user":{"login":"ocean90","id":617637,"avatar_url":"https://avatars.githubusercontent.com/u/617637?v=3","gravatar_id":"","url":"https://api.github.com/users/ocean90","html_url":"https://github.com/ocean90","followers_url":"https://api.github.com/users/ocean90/followers","following_url":"https://api.github.com/users/ocean90/following{/other_user}","gists_url":"https://api.github.com/users/ocean90/gists{/gist_id}","starred_url":"https://api.github.com/users/ocean90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocean90/subscriptions","organizations_url":"https://api.github.com/users/ocean90/orgs","repos_url":"https://api.github.com/users/ocean90/repos","events_url":"https://api.github.com/users/ocean90/events{/privacy}","received_events_url":"https://api.github.com/users/ocean90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/labels/has%20PR","name":"has PR","color":"bfe5bf"},{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/labels/priority:high","name":"priority:high","color":"f7c6c7"},{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/labels/question/discussion","name":"question/discussion","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"akirk","id":203408,"avatar_url":"https://avatars.githubusercontent.com/u/203408?v=3","gravatar_id":"","url":"https://api.github.com/users/akirk","html_url":"https://github.com/akirk","followers_url":"https://api.github.com/users/akirk/followers","following_url":"https://api.github.com/users/akirk/following{/other_user}","gists_url":"https://api.github.com/users/akirk/gists{/gist_id}","starred_url":"https://api.github.com/users/akirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akirk/subscriptions","organizations_url":"https://api.github.com/users/akirk/orgs","repos_url":"https://api.github.com/users/akirk/repos","events_url":"https://api.github.com/users/akirk/events{/privacy}","received_events_url":"https://api.github.com/users/akirk/received_events","type":"User","site_admin":false},"assignees":[{"login":"akirk","id":203408,"avatar_url":"https://avatars.githubusercontent.com/u/203408?v=3","gravatar_id":"","url":"https://api.github.com/users/akirk","html_url":"https://github.com/akirk","followers_url":"https://api.github.com/users/akirk/followers","following_url":"https://api.github.com/users/akirk/following{/other_user}","gists_url":"https://api.github.com/users/akirk/gists{/gist_id}","starred_url":"https://api.github.com/users/akirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akirk/subscriptions","organizations_url":"https://api.github.com/users/akirk/orgs","repos_url":"https://api.github.com/users/akirk/repos","events_url":"https://api.github.com/users/akirk/events{/privacy}","received_events_url":"https://api.github.com/users/akirk/received_events","type":"User","site_admin":false},{"login":"ocean90","id":617637,"avatar_url":"https://avatars.githubusercontent.com/u/617637?v=3","gravatar_id":"","url":"https://api.github.com/users/ocean90","html_url":"https://github.com/ocean90","followers_url":"https://api.github.com/users/ocean90/followers","following_url":"https://api.github.com/users/ocean90/following{/other_user}","gists_url":"https://api.github.com/users/ocean90/gists{/gist_id}","starred_url":"https://api.github.com/users/ocean90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocean90/subscriptions","organizations_url":"https://api.github.com/users/ocean90/orgs","repos_url":"https://api.github.com/users/ocean90/repos","events_url":"https://api.github.com/users/ocean90/events{/privacy}","received_events_url":"https://api.github.com/users/ocean90/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/milestones/10","html_url":"https://github.com/GlotPress/GlotPress-WP/milestones/2.3","labels_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/milestones/10/labels","id":2001853,"number":10,"title":"2.3","description":"","creator":{"login":"ocean90","id":617637,"avatar_url":"https://avatars.githubusercontent.com/u/617637?v=3","gravatar_id":"","url":"https://api.github.com/users/ocean90","html_url":"https://github.com/ocean90","followers_url":"https://api.github.com/users/ocean90/followers","following_url":"https://api.github.com/users/ocean90/following{/other_user}","gists_url":"https://api.github.com/users/ocean90/gists{/gist_id}","starred_url":"https://api.github.com/users/ocean90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocean90/subscriptions","organizations_url":"https://api.github.com/users/ocean90/orgs","repos_url":"https://api.github.com/users/ocean90/repos","events_url":"https://api.github.com/users/ocean90/events{/privacy}","received_events_url":"https://api.github.com/users/ocean90/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":7,"state":"open","created_at":"2016-09-13T16:19:38Z","updated_at":"2016-10-04T18:09:05Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-01-21T13:52:49Z","updated_at":"2016-10-04T18:44:11Z","closed_at":null,"body":"From https://glotpress.trac.wordpress.org/ticket/361\r\n\r\n> To keep the translations consistent through out all projects in a language, there should be just one glossary per locale.\r\nToday glossaries are per project making it difficult to maintain them (when you add a term to one project's glossary, you'll want to add it to all the other projects too).\r\nHowever, each project may have its own specific glossary.\r\n\r\n-----\r\n\r\nCurrently the glossaries are assigned to a translation set of a project. But GlotPress also inherits a glossary from a closest parent project when there isn't one existing for the current translation set, see [[1068]](https://glotpress.trac.wordpress.org/changeset/1068).\r\n\r\nI don't think that GP should loose the ability to have glossaries per projects, I'd rather have one global glossary per locale which is used as a base for each project.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/comments/251476682","html_url":"https://github.com/GlotPress/GlotPress-WP/issues/227#issuecomment-251476682","issue_url":"https://api.github.com/repos/GlotPress/GlotPress-WP/issues/227","id":251476682,"user":{"login":"ocean90","id":617637,"avatar_url":"https://avatars.githubusercontent.com/u/617637?v=3","gravatar_id":"","url":"https://api.github.com/users/ocean90","html_url":"https://github.com/ocean90","followers_url":"https://api.github.com/users/ocean90/followers","following_url":"https://api.github.com/users/ocean90/following{/other_user}","gists_url":"https://api.github.com/users/ocean90/gists{/gist_id}","starred_url":"https://api.github.com/users/ocean90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocean90/subscriptions","organizations_url":"https://api.github.com/users/ocean90/orgs","repos_url":"https://api.github.com/users/ocean90/repos","events_url":"https://api.github.com/users/ocean90/events{/privacy}","received_events_url":"https://api.github.com/users/ocean90/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T18:44:11Z","updated_at":"2016-10-04T18:44:11Z","body":"This is a summary of today's chat: https://wordpress.slack.com/archives/glotpress/p1475600842000583\r\n\r\n* We call them now Locale Glossaries, the existing glossaries are Project Glossaries.\r\n* Locale glossaries are available at /languages/de/glossary/default (or /languages/de/default/glossary).\r\n* We'll use the existing database schema and use a \"shadow translation set\". It's basically a set where project id is set to 0. The glossaries table gets a new colum 'type'.\r\n* Example database entries:\r\n  * /languages/de/glossary/default (or /languages/de/default/glossary)  \r\n**glossary:** id: 1, translation_set_id: 1, description: Locale Glossary, type: locale  \r\n**translation_set:** id: 1, name: German, locale: de, slug: default, project_id: 0\r\n  * /projects/wordpress/de/default/glossary  \r\n**project:** id: 1, slug: wordpress, ...  \r\n**glossary:** id: 2, translation_set_id: 2, description: Project Glossary, type: project  \r\n**translation_set:** id: 2, name: German, locale: de, slug: default, project_id: 1\r\n* A user should only see terms from a locale glossary unless the term is different in the project one.\r\n* Duplication between both types should be avoid."}}
{"actor":{"display_login":"ocean90"}}