Skip to content

WPML common issues on WordPress and the fixes that actually work

Learn how to fix the most common WPML problems on a multilingual WordPress site. This guide explains why each of the six usual failures happens and gives you the fix that holds, from a bloated string table to stuck translation jobs.

This guide is for anyone who runs a multilingual WordPress site with WPML, the plugin that manages the translated versions of your pages. WPML breaks in the same few ways again and again, so once you know them, each incident becomes a quick check instead of a mystery. Six patterns cause most of the trouble. The string translation table, where WPML stores every translated piece of theme and plugin text, can grow to millions of rows. Translations can exist in the database but never show on the page. The language switcher can return a 404 (page not found) error on edge cases. The object cache, a memory store that saves repeated database lookups, can serve a page in the wrong language. The admin can slow from snappy to eight seconds per click, and translation jobs can pile up without being processed. The sections below show how to confirm each one and fix it.

What’s happening

The shared cause across most of these is that WPML hooks into nearly every WordPress query and stores translation state in nine custom tables. When the configuration drifts — string registration too aggressive, cache keys not language-prefixed, translation editor jobs orphaned — the system keeps working but slowly. The symptom you notice (slow admin, missing translation) is downstream of a config issue that started months earlier.

How to verify

Run a triage sweep across the WPML state tables:

wp db query "SELECT COUNT(*) FROM wp_icl_strings"
wp db query "SELECT COUNT(*) FROM wp_icl_string_translations"
wp db query "SELECT status, COUNT(*) FROM wp_icl_translate_job GROUP BY status"
wp db query "SELECT element_type, COUNT(*) FROM wp_icl_translations GROUP BY element_type"
wp option get icl_sitepress_settings --format=json | jq '.st.icl_st_auto_reg, .language_negotiation_type'

Then check what the front-end is actually doing on a representative URL — a product page if WooCommerce, a deep blog post otherwise:

wp eval 'define("SAVEQUERIES",true); wp_remote_get("https://example.com/fr/some-page/"); global $wpdb; foreach($wpdb->queries as $q) if(stripos($q[2],"WPML")!==false||stripos($q[0],"icl_")!==false) echo $q[0]."\n";' | wc -l

The fix

  1. String table bloat. Set icl_st_auto_reg to block once initial scanning is done. Audit wp_icl_strings by context column, find entries from removed plugins or replaced themes, and prune with DELETE st, sts FROM wp_icl_strings st LEFT JOIN wp_icl_string_translations sts ON sts.string_id = st.id WHERE st.context = '<removed-plugin>'.
  2. Translations exist but don’t render. Check wp_icl_translations.source_language_code and language_code — if a translated post’s trid doesn’t link to the original, the translation is orphaned. Re-run wp icl translation sync and verify the post is marked as translation of the right trid.
  3. Language switcher 404s. Caused by translated posts having empty or duplicate slugs. Audit with wp post list --post_type=page --field=post_name | sort | uniq -d. Force unique slugs per language.
  4. Object cache pollution. Define WP_CACHE_KEY_SALT with the active language as a prefix in a mu-plugin, or install WPML’s own cache plugin. Without this, French visitors get served English menu labels.
  5. Admin slowdown. Disable wpml-media-translation unless you genuinely translate media metadata. Drop wpml-sticky-links unless you have evidence of broken cross-language links. Each saves 15-40 queries per admin request.
  6. Stuck translation jobs. Run wp icl translation cleanup weekly. If jobs accumulate faster than they clear, the Translation Management queue isn’t being processed — check the cron events with wp cron event list | grep wpml.

Stack Harbor handles WPML incident triage as part of enterprise WordPress hosting operations, with a documented runbook for each of the six failure modes. If your WPML install is causing more pain than translation, let’s audit it. The enterprise WordPress hosting team takes over the operating side so your editorial team can stop firefighting.