{"id":412368,"date":"2026-11-28T16:52:21","date_gmt":"2026-11-28T16:52:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/extensions-for-polylang\/"},"modified":"2026-11-28T16:51:58","modified_gmt":"2026-11-28T16:51:58","slug":"ryadel-extensions-for-polylang","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ryadel-extensions-for-polylang\/","author":14350639,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.8","requires_php":"7.4","requires_plugins":null,"header_name":"Ryadel Extensions for Polylang","header_author":"Ryadel","header_description":"Extends Polylang: languages and translations in the WordPress REST API, inactive languages, per-language blocks.","last_updated":"2026-11-28 16:51:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Ryadel\/ryadel-extensions-for-polylang","header_author_uri":"https:\/\/www.ryadel.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":56,"num_ratings":0,"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":"Neilgaiman","date":"2026-11-28 16:51:58","revision":3831848}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3831848,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3831848,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3831848,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3831848,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3831848,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3831848,"resolution":"1","location":"assets","locale":"","width":1280,"height":842},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3831848,"resolution":"2","location":"assets","locale":"","width":1280,"height":800},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3831848,"resolution":"3","location":"assets","locale":"","width":1280,"height":476}},"screenshots":{"1":"Languages &gt; Extensions: turn each feature on or off, and see how much content is still to translate in each language.","2":"The Languages panel in the block settings: this paragraph is shown only on the English pages.","3":"An inactive language on the Languages page of Polylang: hidden from visitors, still visible to editors."}},"plugin_section":[],"plugin_tags":[1088,99,10601,23853,2333],"plugin_category":[48],"plugin_contributors":[83983],"plugin_business_model":[],"class_list":["post-412368","plugin","type-plugin","status-publish","hentry","plugin_tags-addon","plugin_tags-multilingual","plugin_tags-polylang","plugin_tags-rest-api","plugin_tags-translation","plugin_category-language-tools","plugin_contributors-neilgaiman","plugin_committers-neilgaiman"],"banners":{"banner":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/banner-772x250.png?rev=3831848","banner_2x":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/banner-1544x500.png?rev=3831848","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/icon.svg?rev=3831848","icon":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/icon.svg?rev=3831848","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/screenshot-1.png?rev=3831848","caption":"Languages &gt; Extensions: turn each feature on or off, and see how much content is still to translate in each language."},{"src":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/screenshot-2.png?rev=3831848","caption":"The Languages panel in the block settings: this paragraph is shown only on the English pages."},{"src":"https:\/\/ps.w.org\/ryadel-extensions-for-polylang\/assets\/screenshot-3.png?rev=3831848","caption":"An inactive language on the Languages page of Polylang: hidden from visitors, still visible to editors."}],"raw_content":"<!--section=description-->\n<p>Ryadel Extensions for Polylang adds a few things to the free version of <a href=\"https:\/\/wordpress.org\/plugins\/polylang\/\">Polylang<\/a>. Each feature can be turned off from <strong>Languages &gt; Extensions<\/strong>.<\/p>\n\n<p><strong>REST API<\/strong><\/p>\n\n<ul>\n<li><code>lang<\/code> and <code>translations<\/code> fields on the core endpoints of posts, pages, custom post types, categories, tags and custom taxonomies translated with Polylang.<\/li>\n<li>A <code>lang<\/code> parameter to filter collections and search results by language.<\/li>\n<li>A single request to create a post together with its translations, with categories and tags given by slug.<\/li>\n<li>The translation status of the site: how much content each language has, and what is not translated yet.<\/li>\n<\/ul>\n\n<p><strong>Inactive languages<\/strong><\/p>\n\n<p>Hide a language from visitors while you are still translating it. Editors keep working on it as usual.<\/p>\n\n<p><strong>Per-language blocks<\/strong><\/p>\n\n<p>Show a block only in some languages, so that a single header, footer or navigation works for every language in block themes.<\/p>\n\n<p><strong>Translation coverage<\/strong><\/p>\n\n<p>The <strong>Languages &gt; Extensions<\/strong> page shows, for each content type, how many posts each language has and how many are still to translate, with a link to the list of those posts.<\/p>\n\n<p>When Polylang Pro is active, the features it already provides are turned off.<\/p>\n\n<p>Ryadel Extensions for Polylang is not affiliated with Polylang or WP SYNTEX.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate Polylang, and add your languages.<\/li>\n<li>Install and activate Ryadel Extensions for Polylang.<\/li>\n<li>Turn features on and off from <strong>Languages &gt; Extensions<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20polylang%20pro%3F\"><h3>Does it work with Polylang Pro?<\/h3><\/dt>\n<dd><p>Yes. Polylang Pro already has the REST API fields and inactive languages, so these two features are turned off and Pro handles them. The translation tools of the REST API and per-language blocks stay available.<\/p><\/dd>\n<dt id=\"which%20rest%20api%20endpoints%20does%20it%20add%3F\"><h3>Which REST API endpoints does it add?<\/h3><\/dt>\n<dd><p>The <code>lang<\/code> and <code>translations<\/code> fields and the <code>lang<\/code> filter are added to the core endpoints, such as <code>\/wp\/v2\/posts<\/code> and <code>\/wp\/v2\/categories<\/code>. Two routes are new:<\/p>\n\n<ul>\n<li><code>POST \/wp-json\/ryadel-extensions-for-polylang\/v1\/posts<\/code> creates a post and its translations in one request. The body has a <code>translations<\/code> object keyed by language slug, with the same fields the core endpoint accepts. If a translation fails, the posts already created are deleted.<\/li>\n<li><code>GET \/wp-json\/ryadel-extensions-for-polylang\/v1\/status<\/code> returns the number of posts per language. With <code>missing=de<\/code> it lists the posts that have no German translation yet.<\/li>\n<\/ul>\n\n<p>Each request needs the same permissions as the matching core endpoint. The status route needs a user who can edit the posts of others.<\/p><\/dd>\n<dt id=\"who%20can%20see%20an%20inactive%20language%3F\"><h3>Who can see an inactive language?<\/h3><\/dt>\n<dd><p>Users who can edit posts see it on the site as usual. Visitors and subscribers get a 404 on its pages, and the language is removed from the language switcher, the hreflang links, browser language detection and the sitemaps. The default language cannot be deactivated.<\/p>\n\n<p>It only hides the language on the site. The REST API still returns its published posts, as for any other language, so keep content that must stay confidential as drafts or private posts.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20inactive%20languages%20if%20i%20deactivate%20the%20plugin%3F\"><h3>What happens to inactive languages if I deactivate the plugin?<\/h3><\/dt>\n<dd><p>The language becomes visible again. Its inactive state is saved by Polylang, the same way Polylang Pro saves it, so it applies again when you reactivate the plugin.<\/p><\/dd>\n<dt id=\"how%20do%20i%20show%20a%20block%20only%20in%20some%20languages%3F\"><h3>How do I show a block only in some languages?<\/h3><\/dt>\n<dd><p>Select the block in the editor and open the <strong>Languages<\/strong> panel in the block settings. Pick the languages that should show it. With no language selected, the block is shown in every language.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20per-language%20blocks%20if%20i%20turn%20the%20feature%20off%3F\"><h3>What happens to per-language blocks if I turn the feature off?<\/h3><\/dt>\n<dd><p>The blocks are shown in every language. The languages you picked are kept, so they apply again when you turn the feature back on.<\/p><\/dd>\n<dt id=\"why%20is%20the%20plugin%20not%20doing%20anything%3F\"><h3>Why is the plugin not doing anything?<\/h3><\/dt>\n<dd><p>It needs Polylang 3.9.2 or later. Without Polylang, or with an older version, it shows a notice to administrators. It also stays idle until Polylang has at least one language.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release: REST API fields and tools, inactive languages, per-language blocks, settings page with translation coverage.<\/li>\n<\/ul>","raw_excerpt":"A useful set of extensions for the free version of Polylang: REST API fields, inactive languages, per-language blocks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/412368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=412368"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/neilgaiman"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=412368"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=412368"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=412368"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=412368"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=412368"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=412368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}