Translation technology

How to Translate a WordPress Website: Plugins, URLs and Translators

How translating a WordPress site works

To translate a WordPress website, you either install a multilingual plugin (WPML, Polylang, TranslatePress or Weglot) or run each language as its own site in a WordPress multisite network. Then you translate the pages and posts, the interface text that comes from your theme and plugins, and the SEO fields for every language. Choose the method before you translate anything, because it fixes your URL structure, how translators receive the text and how hard it is to change course later.

Option 1: a multilingual plugin

Most sites use a plugin, and the four best-known ones work quite differently:

Plugin How it works Worth knowing
WPML Paid. Each translation is a linked post in your own database. String Translation covers theme, plugin and admin text. Offers automatic translation. A shop needs its WooCommerce Multilingual add-on.
Polylang Free core. You create each translation as a separate post, with each language in a directory, subdomain or domain. WooCommerce needs a premium add-on. DeepL machine translation and XLIFF export are Pro features.
TranslatePress You translate on the front end in a visual editor, including page builder and form text. The free version adds one extra language. Translating slugs and meta data needs the paid SEO Pack.
Weglot A hosted service. Translations are stored on Weglot’s servers; an AI draft comes first, which you edit or assign to translators. Needs a Weglot account and API key. Check how you would export your translations before you commit.

Option 2: WordPress multisite

With multisite, each language is a separate site in one network, usually on its own subdomain or domain. Each market can have its own menus, pages and plugins, which suits organisations with separate regional teams. The cost is upkeep. Core WordPress does not know the sites are translations of each other, so you link them and add hreflang yourself or with a connector plugin, and every update runs across several sites.

Machine translation, human translation or both

Most plugins now offer automatic translation, which gives you a full first draft in minutes. Quality varies with the language pair and the type of text, and a fluent reviewer still has to check it. Google’s spam policies treat automated translation used to mass-produce low-value pages as scaled content abuse, so unreviewed machine output can hurt rankings as well as credibility.

A sensible split is machine translation plus review for low-risk content such as older blog posts, and human translation for your home page, service and product pages, checkout, and anything with legal weight. Our article on human vs AI translation covers the trade-offs.

What needs translating besides your pages

  • Menus and widgets, including footer links and the language switcher.
  • Theme and plugin strings such as “Read more” or “Add to cart”. These come from .po and .mo translation files. For smaller languages these files may be missing or incomplete, so fill the gaps in your plugin’s string translation screen.
  • WooCommerce products, categories, attributes, cart and checkout text, and customer emails.
  • Image alt text, captions and any images with words in them.
  • Form labels, error and confirmation messages, and notification and autoresponder emails.
  • SEO titles, meta descriptions, URL slugs and social sharing text.
  • Legal pages such as your privacy notice and terms.

URL structure and hreflang

Google recommends a separate URL for each language rather than switching language with cookies or browser settings. You can use subdirectories (example.co.za/af/), which are easy to maintain because everything stays on one host; subdomains (af.example.co.za), which can be hosted separately; or separate domains, which give the cleanest split and the most work. Google advises against URL parameters such as ?lang=af. It also says to keep one language per page, link the versions with a visible language switcher, and avoid automatically redirecting visitors based on their presumed language.

Hreflang annotations tell Google which pages are language versions of each other. Each version must list itself and every other version, or Google may ignore the tags. Add an x-default entry for visitors whose language you do not cover. All four plugins above generate these tags, but check the page source after setup.

Sending content to professional translators

Copying page text into Word and pasting the translation back breaks formatting and loses track of what has changed. XLIFF, a standard format that translation tools read, avoids both problems:

  • WPML sends translation jobs as XLIFF files that translators open in their own tools, and uploading the finished file creates or updates the translation. This needs a Multilingual CMS or Multilingual Agency account.
  • Polylang Pro exports posts and pages as XLIFF and strings as PO or XLIFF. Files can only be imported into the site that created them, and Elementor and Divi content is not supported.

XLIFF also lets translators use translation memory, which keeps product names and repeated phrases consistent across updates. If you would rather hand the language work to a team while your developer or host keeps running the site, our website localisation service covers that.

A South African example

Say an English site wants to reach more local customers in Afrikaans and isiZulu. A common setup is subdirectories at /af/ and /zu/, with hreflang codes af and zu. Agree a glossary first: isiZulu may not have a settled term for every technical or product word, and Afrikaans readers notice quickly when copy reads like a literal translation. Launch the pages that matter most, then add the rest. Dates, currency, images and tone need adapting too, as our guide to localising a website explains.

Cost and timing depend on word count, language pairs and how much review you need. Send us your page list or XLIFF files for a written quote.

Share this article

Let's talk about your project.

Tell us what you need translated, the languages involved and how the final content will be used. We'll assess your project and send you a clear quotation.