{"id":6104,"date":"2022-10-06T11:16:13","date_gmt":"2022-10-06T08:16:13","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=6104"},"modified":"2026-10-08T10:49:00","modified_gmt":"2026-10-08T07:49:00","slug":"languages","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/header-elements\/languages\/","title":{"rendered":"Languages"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6adfb83aee4ee&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6adfb83aee4ee\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-06-at-11.15.37.png\" alt=\"Languages element displayed inside a Blocksy header\" class=\"wp-image-6106\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">The Languages element in action.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Languages<\/strong> element adds a language switcher to your website&#8217;s header, allowing visitors to move between the translated versions of your content provided by a compatible multilingual plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The element integrates with popular multilingual solutions including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WPML<\/strong><\/li>\n\n\n\n<li><strong>Polylang<\/strong><\/li>\n\n\n\n<li><strong>TranslatePress<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once a supported multilingual plugin is configured, open the <strong>Customiser \u2192 Header<\/strong>, drag the <strong>Languages<\/strong> element into the desired header row or supported area, and select it to configure its appearance.<\/p>\n\n\n\n<div class=\"wp-block-group has-palette-color-8-color has-palette-color-1-background-color has-text-color has-background is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"is-style-info coblocks-alert-paragraph wp-block-paragraph\"><strong>Blocksy Pro required<\/strong><br>The Languages header element is available with Blocksy Pro and works together with the language configuration provided by your multilingual plugin.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-995f960e wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6adfb83af0d35&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6adfb83af0d35\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"1920\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/10\/Screenshot-2026-10-08-at-10.47.48.png\" alt=\"\" class=\"wp-image-15262\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Languages element configuration options.<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\">Style<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Choose how the available languages are presented in the header:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Inline<\/strong> &#8211; displays the available languages alongside one another.<\/li>\n\n\n\n<li><strong>Dropdown<\/strong> &#8211; keeps the selector compact and reveals the available languages from a dropdown menu.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Display &amp; Label Style<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Control which information is used to represent each language. You can display the language <strong>flag<\/strong>, its <strong>text label<\/strong>, or combine both.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The label style can also be adjusted to use the full language name or a shorter language code, helping the selector fit comfortably into more compact header layouts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Hide Current Language<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enable <strong>Hide Current Language<\/strong> to remove the active language from the list of available choices. Visitors will then see only the other languages they can switch to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can be particularly useful when the website uses only two languages or when you want to keep the language selector as compact as possible.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Hide Missing Language<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enable <strong>Hide Missing Language<\/strong> to automatically remove languages that do not have a translation available for the page currently being viewed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This prevents visitors from being presented with language options that cannot lead to a translated version of the current content, keeping the selector relevant to each page.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Languages element adds a language switcher to your website&#8217;s header, allowing visitors to move between the translated versions of your content provided by a compatible multilingual plugin. The element integrates with popular multilingual solutions including: Once a supported multilingual plugin is configured, open the Customiser \u2192 Header, drag the Languages element into the desired [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6116,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[124],"class_list":["post-6104","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","doc_categories-header-elements"],"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=6104"}],"version-history":[{"count":3,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6104\/revisions"}],"predecessor-version":[{"id":15263,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6104\/revisions\/15263"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media\/6116"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=6104"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=6104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}