Translate your site with WPML or Polylang
A multilingual plugin lets one WordPress site hold the same content in several languages. Each page, post, or portfolio item gets a linked translation, and visitors switch language with a language switcher. You do not need a separate site per language.
This article covers translating your content. To translate the theme’s own built-in labels with a .po file, see translating theme strings.
Choose one plugin
Section titled “Choose one plugin”- WPML is a paid plugin. It includes String Translation, translation management, and optional automatic translation.
- Polylang is free on wordpress.org. Polylang Pro adds features such as duplicating content and translating slugs.
Use only one. Running both on the same site causes conflicts. Try the plugin on a staging copy first if your site already has a lot of content.
Install and add languages
Section titled “Install and add languages”- Install and activate the plugin. WPML downloads from your wpml.org account; Polylang installs from Plugins → Add New Plugin.
- Follow the setup wizard. Choose your default language, then add the other languages.
- Choose how language appears in the address, for example a directory such as
/de/. - Add the language switcher. WPML and Polylang both offer a menu item, a widget, or a block.
Translate content
Section titled “Translate content”- Write and publish the page in your default language first, with its images and featured image.
- In the editor, open the language box. WPML shows it in the sidebar; Polylang shows a Languages panel.
- Click the add icon next to a language. This creates the linked translation.
- Write the translated content and publish it.
An item without a translation does not appear in that language. Repeat the steps for each language.
Custom post types and categories
Section titled “Custom post types and categories”RT-Themes classic themes register their own post types, such as portfolio, team, and testimonials. Enable translation for them first. In WPML, open WPML → Settings → Post Types Translation. In Polylang, open Languages → Settings → Custom post types and Taxonomies.
Create and translate categories before you translate the items in them. When a translated item is saved, the plugin then assigns the matching translated category automatically.
Menus and widgets
Section titled “Menus and widgets”Create one menu per language and assign each to the theme location for that language. In WPML, use WPML → WP Menus Sync to copy the structure. In Polylang, select the language for each location on Appearance → Menus → Manage Locations.
For widgets, both plugins add a language setting to each widget so it shows only in one language. Add one widget per language in the same widget area.
Theme strings with WPML String Translation
Section titled “Theme strings with WPML String Translation”Text you enter in the Customizer, such as copyright text, a slogan, or breadcrumb labels, is not a post. Translate it in WPML → String Translation. Only strings the theme registers with WPML appear in that list; anything else needs a per-language widget or a .po translation. Polylang lists registered strings under Languages → Translations.
Support scope
Section titled “Support scope”RT-Themes fixes bugs in the theme’s own code, such as a theme string that should be translatable but is not. Questions about how WPML or Polylang work go to their own documentation and support channels.