You can have your website in as many languages as you like. Even if you have only one language, and it is not English, you should set your default language in Settings > General. This will put the admin interface in your language, translates some bits of text on the site itself, and it also lets search engines know what language it is.
- For multiple language sites – the first step is to ask us to enable the plugin for that site.
- Once it is enabled, you should then enable the languages you want by going to Settings > Languages
- You can then translate pages and add a language switch to the top menu
- If you use the Customiser page to change site settings (this is especially relevant for our Dhyana theme), there is a language switch in the top left to enable you to add different text for different languages.
- For more detailed information, check the pages at getting started and also Frequently asked questions at the Polylang plugin site.
Add a language switch to top menu
- To display different translations in the menu, go to Appearance > Menus
- On the left hand side, you see the language switcher in the list of menu options. (If you dont see it, you might have to click the ‘Screen Options’ box on the top right and enable ‘Language switcher’.) To add it to the menu, just drag it over to the menu on the right hand side.
- Once the language switcher is added, you can choose how to display it – for example, whether to display language choice with flag or just words. If you have just 2 languages, it is usually a good idea to hide the current language
- Note that you will need to create a menu for each language (especially for the top menu), and add the language switcher to each language
More help on adding menus can be found on this help page
To translate a page
To translate a page, just edit the page as usual. In the top right, you will see option to translate (in this case, Swedish version)
Click on the edit button (the pencil) and it will take you to an edit page where you can fill in the other language version
Editing sidebar and footer widgets
Go to Appearance > Widgets and add a widget as normal, and save it. You should then see a dropdown where you can select to show the widget just for one language, or for other languages.
For text widgets, you will usually have to add a widget for each language. For other widgets where only the title is different, you might be able to just add one widget, and then translate the title in the Languages > string translations page
More on editing widgets on the Polylang widgets page…
Every design has bits of text such as Search, Read More etc which you can’t edit by editing a page. We call these pieces of text strings. Read more about translating strings on this page…