Multilingual Sites

Create multilingual sites with WordPress and YOOtheme Pro.

To create a multilingual site just install the needed languages in WordPress. Duplicate and translate posts, pages and widgets and assign them to a specific language. Install WPML, Polylang, Falang or other multilingual plugin which will switch between these content translations. If some content is missing for a language, the assigned post, page or widget of the default language will be shown. Learn more in the official WordPress documentation.

The following will give a short overview about creating multilingual sites and the YOOtheme Pro specifics.

Translate Pages

First, create multiple versions of the page for each language. Use one of the following two options:

  • Duplicate the existing page and assign it to the new language. To do so in WPML, use the content override button. For Polylang, use the popular duplicate post plugin.
  • Save the existing layout in the YOOtheme Pro layout library. Then create a new empty page, assign it to a language and import the saved layout from the library.

Assign each page to a language and translate it. Make sure to have one version for each language.

Note At the moment, the content fields are not extracted and cannot be translated separately from the page builder settings. This means if you change the settings in the page builder, you have to change them for every translation. That's why it's recommended to translate pages in the final step. We hope to have a better solution in the future. The only exception is Falang where content fields can be translated on the same page.

Translate Widgets

Translating widgets works the same as with pages. Create multiple versions of the widget, assign them to a language and translate them.

YOOtheme Pro provides the footer builder to add a footer to all pages. However, the footer builder cannot be used for multilingual sites. Instead, just use Builder Widgets and publish them in the bottom position.

Translate Language Strings

YOOtheme Pro uses multiple language strings within its templates. For example, the read more link shows the text Continue Reading. YOOtheme Pro is translated into more than 20 languages, and each of these language files contains translations of the language strings. To help translate YOOtheme Pro to your language, refer to the translation documentation.

The language files can be found in the YOOtheme theme folder in languages/.

Override Language Strings

To override a specific language string without modifying any language files, install and activate the WPML String Translation plugin. To find all language strings defined by YOOtheme Pro, set the filter to yootheme.

Apart from the predefined YOOtheme Pro language strings, all custom content from YOOtheme Pro, for instance, the logo text, the cookie banner or the newsletter messages also appears as translatable language strings.

Learn more in the WPML documentation.

Note The newsletter messages can only be translated if they are displayed on the page.

YOOtheme Pro Documentation