{"action":"created","issue":{"url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/47","labels_url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/47/comments","events_url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/47/events","html_url":"https://github.com/fusioneng/image-shortcake/pull/47","id":93161728,"number":47,"title":"Add Russian translation","user":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fusioneng/image-shortcake/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fusioneng/image-shortcake/milestones/2","html_url":"https://github.com/fusioneng/image-shortcake/milestones/next","labels_url":"https://api.github.com/repos/fusioneng/image-shortcake/milestones/2/labels","id":1148467,"number":2,"title":"next","description":null,"creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":5,"state":"open","created_at":"2015-06-04T00:02:02Z","updated_at":"2015-07-14T16:03:22Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-06T00:34:52Z","updated_at":"2015-07-14T16:40:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fusioneng/image-shortcake/pulls/47","html_url":"https://github.com/fusioneng/image-shortcake/pull/47","diff_url":"https://github.com/fusioneng/image-shortcake/pull/47.diff","patch_url":"https://github.com/fusioneng/image-shortcake/pull/47.patch"},"body":"Adds ru_RU l18n files, props @ninetienne.\r\n\r\nAlso adds a `load_plugin_textdomain()` call, which wasn't happening before... with the result that translation files weren't actually being loaded."},"comment":{"url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/comments/121302027","html_url":"https://github.com/fusioneng/image-shortcake/pull/47#issuecomment-121302027","issue_url":"https://api.github.com/repos/fusioneng/image-shortcake/issues/47","id":121302027,"user":{"login":"goldenapples","id":665992,"avatar_url":"https://avatars.githubusercontent.com/u/665992?v=3","gravatar_id":"","url":"https://api.github.com/users/goldenapples","html_url":"https://github.com/goldenapples","followers_url":"https://api.github.com/users/goldenapples/followers","following_url":"https://api.github.com/users/goldenapples/following{/other_user}","gists_url":"https://api.github.com/users/goldenapples/gists{/gist_id}","starred_url":"https://api.github.com/users/goldenapples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldenapples/subscriptions","organizations_url":"https://api.github.com/users/goldenapples/orgs","repos_url":"https://api.github.com/users/goldenapples/repos","events_url":"https://api.github.com/users/goldenapples/events{/privacy}","received_events_url":"https://api.github.com/users/goldenapples/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T16:40:34Z","updated_at":"2015-07-14T16:40:34Z","body":"@danielbachhuber how do you handle registering textdomains for plugins that will be included in a theme? This translation file loads properly when the plugin is installed as a regular plugin, but when required as a subdomain in our theme the path registered for the language files is all screwy:\r\n\r\n`/srv/www/wp-content/plugins/srv/www/wp-content/themes/vip/fusion-theme/lib/image-shortcake/languages/image-shortcake-ru_RU.mo`\r\n\r\nI suppose it doesn't matter for us in this case, as we're not translating anything in our theme. But I can't see a way around this in core. Wondering if there's a way to make this work... or if it even matters...?"}}