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 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.
First of all, create multiple versions of the page for each language. Use one of the following two options:
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.
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
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 translating YOOtheme Pro to your language, refer to the translation documentation.
The language files can be found in the YOOtheme theme folder in
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
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.