guglthing.blogg.se

Polylang language switcher examples
Polylang language switcher examples





polylang language switcher examples
  1. #POLYLANG LANGUAGE SWITCHER EXAMPLES HOW TO#
  2. #POLYLANG LANGUAGE SWITCHER EXAMPLES PRO#
  3. #POLYLANG LANGUAGE SWITCHER EXAMPLES PLUS#

If the theme you are using is compatible with Polylang plugin, each menu location will appear at least twice, depending on the number of languages that you have configured on your site. You can create a different menu for another language or use the same on all languages. Menus can be translated in Dashboard->Appearance->Menus. In case the front page of the theme works with the Static Page option, make sure to choose a page who exists in all languages, as the front page. Just create a new one for a different language and translate the shortcode. The same approach can be used to translate a contact form. Such an image URL can be found in Dashboard->Media Library. Image set in the customizer can be also translated here by setting a different image URL for a different language. If a particular string doesn't appear there, you can try modifying it and save changes within the customizer.

polylang language switcher examples

Therefore, you can't create a new page as you would do for regular pages.Īll those strings can be translated in Dashboard->Languages->Strings translations.

#POLYLANG LANGUAGE SWITCHER EXAMPLES PRO#

The following themes, Hestia Pro, Zelle Pro, ShopIsle Pro have front page sections that can be edited only from the customizer(Dashboard->Appearance->Customize).

polylang language switcher examples

The same approach should work for translating the Customizer strings of any theme. The steps in this section apply to the following ThemeIsle themes: Hestia Pro, Zelle Pro, ShopIsle Pro. 4. Translate theme built-in sections/front page The same steps can be followed for translating pages. Also, the correspondent of the post in other languages will be visible in the sidebar while editing the post. The post language can be also set while editing it. This way a new post was created with the same attributes, so you just need to add the content here.

#POLYLANG LANGUAGE SWITCHER EXAMPLES PLUS#

Just localize the desired post and click the plus sign corresponding to the desired language next to the post name. Posts can be translated in Dashboard->Posts.

#POLYLANG LANGUAGE SWITCHER EXAMPLES HOW TO#

Now that the plugin is installed, let's configure the desired languages.ĭashboard > Languages > Languages, Add new.Īfter adding all of them, make sure that there is at least one post created in each language - if you don't know how to add a new post in a certain language check step 3.įrom this page, a default language can be set for all posts that were on the site before installing Polylang plugin. Show/hide section based on the language, in Hestia Pro.Translate built-in sections of the theme.In this guide, we will explain how to translate themes using Polylang plugin.







Polylang language switcher examples