{"action":"created","issue":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/4934","repository_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/4934/labels{/name}","comments_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/4934/comments","events_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/4934/events","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/4934","id":176158873,"number":4934,"title":"Countries/States cannot be localized","user":{"login":"schlessera","id":83631,"avatar_url":"https://avatars.githubusercontent.com/u/83631?v=3","gravatar_id":"","url":"https://api.github.com/users/schlessera","html_url":"https://github.com/schlessera","followers_url":"https://api.github.com/users/schlessera/followers","following_url":"https://api.github.com/users/schlessera/following{/other_user}","gists_url":"https://api.github.com/users/schlessera/gists{/gist_id}","starred_url":"https://api.github.com/users/schlessera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlessera/subscriptions","organizations_url":"https://api.github.com/users/schlessera/orgs","repos_url":"https://api.github.com/users/schlessera/repos","events_url":"https://api.github.com/users/schlessera/events{/privacy}","received_events_url":"https://api.github.com/users/schlessera/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Has%20PR","name":"Has PR","color":"009800"},{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/I18N","name":"I18N","color":"27AE60"},{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/labels/Needs%20Testing","name":"Needs Testing","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"assignees":[{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/140","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/milestones/2.6.8","labels_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/milestones/140/labels","id":1909593,"number":140,"title":"2.6.8","description":null,"creator":{"login":"pippinsplugins","id":1034109,"avatar_url":"https://avatars.githubusercontent.com/u/1034109?v=3","gravatar_id":"","url":"https://api.github.com/users/pippinsplugins","html_url":"https://github.com/pippinsplugins","followers_url":"https://api.github.com/users/pippinsplugins/followers","following_url":"https://api.github.com/users/pippinsplugins/following{/other_user}","gists_url":"https://api.github.com/users/pippinsplugins/gists{/gist_id}","starred_url":"https://api.github.com/users/pippinsplugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pippinsplugins/subscriptions","organizations_url":"https://api.github.com/users/pippinsplugins/orgs","repos_url":"https://api.github.com/users/pippinsplugins/repos","events_url":"https://api.github.com/users/pippinsplugins/events{/privacy}","received_events_url":"https://api.github.com/users/pippinsplugins/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":9,"state":"open","created_at":"2016-07-28T14:15:47Z","updated_at":"2016-09-26T16:44:04Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-09-10T05:21:15Z","updated_at":"2016-09-26T16:45:14Z","closed_at":null,"body":"Currently, the [country and state strings](https://github.com/easydigitaldownloads/easy-digital-downloads/blob/master/includes/country-functions.php) can not be localized apart from one exception: the [Spanish state strings](https://github.com/easydigitaldownloads/easy-digital-downloads/blob/master/includes/country-functions.php#L1567-L1621).\r\n\r\nAll country and state strings should be localizable, to allow the dropdown lists to be properly displayed in different locales."},"comment":{"url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/comments/249626433","html_url":"https://github.com/easydigitaldownloads/easy-digital-downloads/issues/4934#issuecomment-249626433","issue_url":"https://api.github.com/repos/easydigitaldownloads/easy-digital-downloads/issues/4934","id":249626433,"user":{"login":"cklosowski","id":1390124,"avatar_url":"https://avatars.githubusercontent.com/u/1390124?v=3","gravatar_id":"","url":"https://api.github.com/users/cklosowski","html_url":"https://github.com/cklosowski","followers_url":"https://api.github.com/users/cklosowski/followers","following_url":"https://api.github.com/users/cklosowski/following{/other_user}","gists_url":"https://api.github.com/users/cklosowski/gists{/gist_id}","starred_url":"https://api.github.com/users/cklosowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cklosowski/subscriptions","organizations_url":"https://api.github.com/users/cklosowski/orgs","repos_url":"https://api.github.com/users/cklosowski/repos","events_url":"https://api.github.com/users/cklosowski/events{/privacy}","received_events_url":"https://api.github.com/users/cklosowski/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T16:45:14Z","updated_at":"2016-09-26T16:45:14Z","body":"I'm reverting this. We need to come up with a more performant way to do this. We may want to look how WooCommerce is doing it by only loading the country states that are needed, instead of loading ALL of the states for all of the countries into the memory. the WooCommerce team saw a drastic improvement to their performance when doing this:\r\n\r\nhttps://github.com/woothemes/woocommerce/blob/master/includes/class-wc-countries.php#L116"}}
{"actor":{"display_login":"cklosowski"}}