{"action":"created","issue":{"url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/434","repository_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui","labels_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/434/comments","events_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/434/events","html_url":"https://github.com/WebDevStudios/custom-post-type-ui/issues/434","id":140527058,"number":434,"title":"Update textdomain loading to do WP.org language packs.","user":{"login":"tw2113","id":484075,"avatar_url":"https://avatars.githubusercontent.com/u/484075?v=3","gravatar_id":"","url":"https://api.github.com/users/tw2113","html_url":"https://github.com/tw2113","followers_url":"https://api.github.com/users/tw2113/followers","following_url":"https://api.github.com/users/tw2113/following{/other_user}","gists_url":"https://api.github.com/users/tw2113/gists{/gist_id}","starred_url":"https://api.github.com/users/tw2113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw2113/subscriptions","organizations_url":"https://api.github.com/users/tw2113/orgs","repos_url":"https://api.github.com/users/tw2113/repos","events_url":"https://api.github.com/users/tw2113/events{/privacy}","received_events_url":"https://api.github.com/users/tw2113/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"tw2113","id":484075,"avatar_url":"https://avatars.githubusercontent.com/u/484075?v=3","gravatar_id":"","url":"https://api.github.com/users/tw2113","html_url":"https://github.com/tw2113","followers_url":"https://api.github.com/users/tw2113/followers","following_url":"https://api.github.com/users/tw2113/following{/other_user}","gists_url":"https://api.github.com/users/tw2113/gists{/gist_id}","starred_url":"https://api.github.com/users/tw2113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw2113/subscriptions","organizations_url":"https://api.github.com/users/tw2113/orgs","repos_url":"https://api.github.com/users/tw2113/repos","events_url":"https://api.github.com/users/tw2113/events{/privacy}","received_events_url":"https://api.github.com/users/tw2113/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/milestones/22","html_url":"https://github.com/WebDevStudios/custom-post-type-ui/milestones/1.3.0","labels_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/milestones/22/labels","id":1397122,"number":22,"title":"1.3.0","description":"","creator":{"login":"tw2113","id":484075,"avatar_url":"https://avatars.githubusercontent.com/u/484075?v=3","gravatar_id":"","url":"https://api.github.com/users/tw2113","html_url":"https://github.com/tw2113","followers_url":"https://api.github.com/users/tw2113/followers","following_url":"https://api.github.com/users/tw2113/following{/other_user}","gists_url":"https://api.github.com/users/tw2113/gists{/gist_id}","starred_url":"https://api.github.com/users/tw2113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw2113/subscriptions","organizations_url":"https://api.github.com/users/tw2113/orgs","repos_url":"https://api.github.com/users/tw2113/repos","events_url":"https://api.github.com/users/tw2113/events{/privacy}","received_events_url":"https://api.github.com/users/tw2113/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":31,"state":"open","created_at":"2015-11-06T07:02:35Z","updated_at":"2016-03-20T00:28:55Z","due_on":"2016-03-24T05:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-13T20:39:19Z","updated_at":"2016-03-20T00:28:55Z","closed_at":"2016-03-20T00:28:55Z","body":"If you want to use language packs exclusively (note: WP will still check the base /wp-content/plugins directory for language files, just in case):\r\n\r\nText Domain: plugin-slug\r\nload_plugin_textdomain( 'plugin-slug' );\r\n\r\nhttp://ottopress.com/2013/language-packs-101-prepwork/"},"comment":{"url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/comments/198814645","html_url":"https://github.com/WebDevStudios/custom-post-type-ui/issues/434#issuecomment-198814645","issue_url":"https://api.github.com/repos/WebDevStudios/custom-post-type-ui/issues/434","id":198814645,"user":{"login":"tw2113","id":484075,"avatar_url":"https://avatars.githubusercontent.com/u/484075?v=3","gravatar_id":"","url":"https://api.github.com/users/tw2113","html_url":"https://github.com/tw2113","followers_url":"https://api.github.com/users/tw2113/followers","following_url":"https://api.github.com/users/tw2113/following{/other_user}","gists_url":"https://api.github.com/users/tw2113/gists{/gist_id}","starred_url":"https://api.github.com/users/tw2113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw2113/subscriptions","organizations_url":"https://api.github.com/users/tw2113/orgs","repos_url":"https://api.github.com/users/tw2113/repos","events_url":"https://api.github.com/users/tw2113/events{/privacy}","received_events_url":"https://api.github.com/users/tw2113/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T00:28:55Z","updated_at":"2016-03-20T00:28:55Z","body":"We should be good here. I've tested things out, and the loading definitely needed to be on the plugins_loaded hook. Automatically downloaded the available packs for Portuguese once selected. I'm not aware of how heavily other sites are translated, as we've never had many come in other than Portuguese and German.\r\n\r\nHere's to hoping!"}}