{"id":124809,"date":"2020-07-20T19:19:01","date_gmt":"2020-07-20T19:19:01","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/polylang-country-detection\/"},"modified":"2022-09-30T10:07:16","modified_gmt":"2022-09-30T10:07:16","slug":"country-detection-polylang","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/country-detection-polylang\/","author":15194521,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.1","stable_tag":"trunk","tested":"6.0.11","requires":"4.9","requires_php":"5.6","requires_plugins":"","header_name":"Polylang - Country Detection","header_author":"Markus Wiesenhofer","header_description":"Detects the preferred language according on the country","assets_banners_color":"9eab95","last_updated":"2022-09-30 10:07:16","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate?business=DUKJP25LKTX62&currency_code=EUR","header_plugin_uri":"","header_author_uri":"mailto:markusfroehlich01@gmail.com","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":13995,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"markusfroehlich","date":"2020-07-20 19:23:16"},"1.1.0":{"tag":"1.1.0","author":"markusfroehlich","date":"2020-08-24 08:54:16"},"1.2.0":{"tag":"1.2.0","author":"markusfroehlich","date":"2021-02-14 17:36:19"},"1.2.2":{"tag":"1.2.2","author":"markusfroehlich","date":"2022-09-30 09:58:38"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2344040,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2344040,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2343650,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2343650,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1127,3751,1124,99,10601],"plugin_category":[48],"plugin_contributors":[126230],"plugin_business_model":[],"class_list":["post-124809","plugin","type-plugin","status-publish","hentry","plugin_tags-browser","plugin_tags-country","plugin_tags-detection","plugin_tags-multilingual","plugin_tags-polylang","plugin_category-language-tools","plugin_contributors-markusfroehlich","plugin_committers-markusfroehlich"],"banners":{"banner":"https:\/\/ps.w.org\/country-detection-polylang\/assets\/banner-772x250.jpg?rev=2343650","banner_2x":"https:\/\/ps.w.org\/country-detection-polylang\/assets\/banner-1544x500.jpg?rev=2343650","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/country-detection-polylang\/assets\/icon-128x128.jpg?rev=2344040","icon_2x":"https:\/\/ps.w.org\/country-detection-polylang\/assets\/icon-256x256.jpg?rev=2344040","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Polylang is a fantastic plugin to make WordPress multilingual. The Polylang extension enables you to detect the preferred language according on the country.<\/p>\n\n<p>If your website contains 2 different locales with the same language (e.g. de_DE for German\/German and de_AT for German\/Austria) then Polylang automatically sets the language according to the browser settings.<\/p>\n\n<p>Austrian website visitors who have set their operating system \/ browser to Germany (e.g. the Devices was buyed in Germany) will always be redirected to de_DE.<\/p>\n\n<p>This Plugin detects the preferred language according on the visitors country and will set the language correct to de_AT.<\/p>\n\n<p>Please notice that the IP API is only for non-commercial use allowed.<\/p>\n\n<h4>Required Plugin<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/polylang.pro\">Polylang Pro<\/a> by WP SYNTEX - Polylang allows you to create a bilingual or multilingual WordPress site.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install the required Polylang Plugin available at https:\/\/polylang.pro<\/li>\n<li>Upload 'pll-country-detection' to the '\/wp-content\/plugins\/' directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Enable the \"Detect browser language\" option in \"Languages &gt; Settings\"<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20the%20country%20detection%20works%3F'><h3>How does the country detection works?<\/h3><\/dt>\n<dd><p>The plugin detects the country with the IP Geolocation API (https:\/\/ip-api.com\/).\nIf no available language by country is found, the language of the browser is preferred. (https:\/\/polylang.pro\/doc\/detect-the-browser-preferred-language\/)<\/p><\/dd>\n<dt id='i%20found%20a%20bug%2C%20what%20shall%20i%20do%3F'><h3>I found a bug, what shall I do?<\/h3><\/dt>\n<dd><p>If you have found a bug in my plugin, please send me an email with a short description.\nI will fix the bug as soon as possible.<\/p><\/dd>\n<dt id='you%20like%20my%20plugin%20and%20you%27d%20like%20to%20support%20me%3F'><h3>You like my plugin and you'd like to support me?<\/h3><\/dt>\n<dd><p>Thank you very much!\nIn case you want to show how much you appreciate my work, I'd be very grateful if you could give me positive rating with Wordpress-Page and\/or donate a small amount to me.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fix - Check if the class Polylang_Country_Detection already exists<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Feature - Anonymize the IP addresses from the client<\/li>\n<li>Dev - Changed the geolocation API from ip-api.com to iplocate.io<\/li>\n<li>Dev - Check compatibility with latest Polylang and WordPress Version<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix - Filter all non active languages<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Translation functionality added<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fix - Lanaguage variable return issue<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<li>Check compatibility with latest Polylang and WordPress Version<\/li>\n<\/ul>","raw_excerpt":"This plugin detects the preferred language according on the country.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/124809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=124809"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/markusfroehlich"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=124809"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=124809"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=124809"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=124809"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=124809"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=124809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}