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
- String table bloat. Set
icl_st_auto_regtoblockonce initial scanning is done. Auditwp_icl_stringsby context column, find entries from removed plugins or replaced themes, and prune withDELETE 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>'. - Translations exist but don’t render. Check
wp_icl_translations.source_language_codeandlanguage_code— if a translated post’striddoesn’t link to the original, the translation is orphaned. Re-runwp icl translation syncand verify the post is marked as translation of the righttrid. - 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. - Object cache pollution. Define
WP_CACHE_KEY_SALTwith 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. - Admin slowdown. Disable
wpml-media-translationunless you genuinely translate media metadata. Dropwpml-sticky-linksunless you have evidence of broken cross-language links. Each saves 15-40 queries per admin request. - Stuck translation jobs. Run
wp icl translation cleanupweekly. If jobs accumulate faster than they clear, the Translation Management queue isn’t being processed — check the cron events withwp 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.