Skip to content
Knowledge Base

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.

  • 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.

  1. Install and activate the plugin. WPML downloads from your wpml.org account; Polylang installs from Plugins → Add New Plugin.
  2. Follow the setup wizard. Choose your default language, then add the other languages.
  3. Choose how language appears in the address, for example a directory such as /de/.
  4. Add the language switcher. WPML and Polylang both offer a menu item, a widget, or a block.
  1. Write and publish the page in your default language first, with its images and featured image.
  2. In the editor, open the language box. WPML shows it in the sidebar; Polylang shows a Languages panel.
  3. Click the add icon next to a language. This creates the linked translation.
  4. Write the translated content and publish it.

An item without a translation does not appear in that language. Repeat the steps for each language.

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.

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.

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.