![woocommerce language switcher woocommerce language switcher](https://cdn.wpml.org/wp-content/uploads/2016/10/1120774-not_translated_by_WPML_screenshot1.png)
Typing the first few letters should suffice to bring it up. To add it, simply click the “+” button to add a block and search for the language switcher.
![woocommerce language switcher woocommerce language switcher](https://docs.wpwebelite.com/wp-content/uploads/2021/06/Picture6.png)
With Polylang Pro the language switcher is available as a block in the Full Site Editing. Refer to Options for the detail of what each option of the Language Switcher.ġ.4 Language switcher as a block in the FSE To do so simply search for “Language Switcher” in the search form of the block editor in your Appearance tab > Widgets sub-tab.Ĭlick on the icon of the block, it will add it to the main blocks list (central scroll zone) and open the block editor embedded view in witch you’ll find all the “Language Switcher” options. With Polylang Pro you have the possibility to add a language switcher in the new widget block editor introduced in WordPress 5.8. You can choose to display either the language name or its flag or both 1.3 Add a language switcher as a Block in the new widgets block editor Refer to Options for the detail of what each option of the Language Switcher. This option works with Polylang Pro for existing widgets only, it is no longer possible to add it. With Polylang you have the possibility to add our widget Language switcher, in the Appearance tab > Widgets sub-tab, by first adding a block “Legacy Widget” in which you then select the Polylang Language Switcher. Refer to Options for the detail of what each option of the Language Switcher does.ġ.2 Add a language switcher as a widget with legacy block If you don’t see the language switcher metabox, check that it is not disabled in the screen options (horizontal tab which can be unfolded as shown by bullet 3 in the “Menu” documentation). You can include the Polylang language switcher in your menu. Add a language switcher 1.1 Add a language switcher in a menu If there is no content in any language, then the language switcher does not appear at all. Note: To avoid 404 errors, the language switcher does not display a language on the front end if there is no published content (post or page) in that language. By default, if the current page is untranslated, the language switcher links to the front page in the corresponding language. The purpose of the language switcher is to create links to the translations of your current page. Displays language names and displays flags.Language switcher in the navigation block.Language switcher as a block in the FSE.Add a language switcher as a widget in the new block editor.Add a language switcher as a widget with legacy block.