{"action":"created","issue":{"url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/41","repository_url":"https://api.github.com/repos/maxmind/geoip-api-php","labels_url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/41/comments","events_url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/41/events","html_url":"https://github.com/maxmind/geoip-api-php/issues/41","id":156677659,"number":41,"title":"Installation WPML_GeoIP_IPResolver.class.php","user":{"login":"dripppple","id":19566112,"avatar_url":"https://avatars.githubusercontent.com/u/19566112?v=3","gravatar_id":"","url":"https://api.github.com/users/dripppple","html_url":"https://github.com/dripppple","followers_url":"https://api.github.com/users/dripppple/followers","following_url":"https://api.github.com/users/dripppple/following{/other_user}","gists_url":"https://api.github.com/users/dripppple/gists{/gist_id}","starred_url":"https://api.github.com/users/dripppple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dripppple/subscriptions","organizations_url":"https://api.github.com/users/dripppple/orgs","repos_url":"https://api.github.com/users/dripppple/repos","events_url":"https://api.github.com/users/dripppple/events{/privacy}","received_events_url":"https://api.github.com/users/dripppple/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T07:05:54Z","updated_at":"2016-05-25T14:10:13Z","closed_at":"2016-05-25T14:10:13Z","body":"Hey, I followed your readme but I cant understand what I should do in the **WPML_GeoIP_IPResolver.class.php** \r\n\r\nMy site is in english \r\n\r\n> homepage.com\r\n\r\n But when someone from Sweden enter I want it to redirect to \r\n\r\n> homepage.com/sv\r\n\r\nYou say I should modify the **language_mappings** and **default_language** but to what?\r\n\r\n```\r\n   //Array with structure MaxMind Code => WPML Code \r\n   $this->language_mappings = array(\r\n   'US' => 'en', //USA\r\n   'SE' => 'sv', //Sweden\r\n\t\t);**\r\n```\r\n\r\n\r\n```\r\n    //Set the default WPML language which is used if no matching language is found\r\n    $this->default_language = 'en';\r\n```\r\n\r\n\r\nWhats wrong here?"},"comment":{"url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/comments/221587953","html_url":"https://github.com/maxmind/geoip-api-php/issues/41#issuecomment-221587953","issue_url":"https://api.github.com/repos/maxmind/geoip-api-php/issues/41","id":221587953,"user":{"login":"oschwald","id":278835,"avatar_url":"https://avatars.githubusercontent.com/u/278835?v=3","gravatar_id":"","url":"https://api.github.com/users/oschwald","html_url":"https://github.com/oschwald","followers_url":"https://api.github.com/users/oschwald/followers","following_url":"https://api.github.com/users/oschwald/following{/other_user}","gists_url":"https://api.github.com/users/oschwald/gists{/gist_id}","starred_url":"https://api.github.com/users/oschwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oschwald/subscriptions","organizations_url":"https://api.github.com/users/oschwald/orgs","repos_url":"https://api.github.com/users/oschwald/repos","events_url":"https://api.github.com/users/oschwald/events{/privacy}","received_events_url":"https://api.github.com/users/oschwald/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T14:10:12Z","updated_at":"2016-05-25T14:10:12Z","body":"It appears you might be filing the bug report against the wrong API. This API does not provide `WPML_GeoIP_IPResolver.class.php`."}}
{"actor":{"display_login":"oschwald"}}