Docs
Troubleshooting
Symptom, cause, and fix for the ways a translated WordPress site quietly does less than you expected after you finish setup.
Most LocalePro problems are silent. The site keeps working, pages keep rendering, and a language that should be there is missing. Two places say why out loud:
- Site Health (Tools → Site Health) has four LocalePro checks: whether a provider can be reached, whether the site is allowed to spend, whether background requests can be matched to a language, and whether the database can store every character.
- Query Monitor, if installed, gets a LocalePro panel on every front-end request. Its title reads LocalePro: COLD, WARM, or HOT when the page was translated, and the panel states the reason when it was not.
Notices about a paused provider or a reached limit appear on LocalePro’s own admin screens, not across all of wp-admin.
A page is not translated at all
Symptom. The translated address loads, but every sentence is in your language.
Check the Query Monitor panel first. If it says Translation did not run for this request, the reason beside it is one of these:
| Reason shown | Cause | Fix |
|---|---|---|
| Source language | You are reading the source-language address. | Open the page under its language prefix (/es/...). |
| Custom page / Disabled page | The post is set to Your own version or Off for this language in the editor panel. | Change the mode in the editor panel, or expect this. |
| Admin request, AJAX request, REST request, Cron request, WP-CLI request, Feed request | Not a page view. Feeds and admin screens are never translated. | Nothing to fix. |
| Filtered out by localepro_should_translate_request | A filter in your theme or a plugin returned false. | Find the filter. |
If the panel is not available, the same causes apply: check that the language is on under Settings → Languages, that the page is not Off for that language, and that no exclusion rule covers it.
A page builder’s editor shows the source. Deliberate. Requests carrying a builder’s editing argument (elementor-preview, et_fb, fl_builder, ct_builder, bricks, vc_editable, tve, brizy-edit, sfwd-lms) and the Customizer preview are never translated, so translated text cannot be saved back into your source content. The published page is translated. Add your own arguments with localepro_non_page_query_args.
Some sentences stay in your language
Symptom. The page is translated except for a few strings, or everything new since a certain date.
Open the Query Monitor panel. The Machine Translation section shows Requests: 0 and a Reason:
| Reason shown | Cause | Fix |
|---|---|---|
| No machine translation provider is connected | No DeepL, Google, or Microsoft key is saved, or none covers this language pair. | Connect a key. Check the pair notice on the Languages tab. |
| The monthly character limit has been reached | The ceiling under Settings → Usage & limits is used up. Saved translations are still served; new sentences wait. | Raise or remove the limit, or wait for the month to reset. Site Health reports LocalePro has reached this month’s translation limit. |
| This site is not production and has not been allowed to spend on a provider | WP_ENVIRONMENT_TYPE is staging, development, or local, and the site has not been told it may spend. |
See staging below. |
| The provider returned an error | A call failed. | See a provider is paused below. |
If the provider was called and the sentence is still untranslated, it is probably on the list of things LocalePro never sends:
- Money. Amounts such as
$13.50orEUR 10.50are protected and put back verbatim. The words around them are translated. - Numbers and codes with no letters. SKUs, dates in digits, version strings.
- Brand names listed under Settings → Translation → Protected terms.
- Markup opted out with
translate="no", classnotranslate, ordata-localepro-ignore, and the admin bar, Query Monitor’s own panel, and icon-font ligatures. - WooCommerce prices, by class, on a site with WooCommerce.
- Words painted into an image or a PDF. The alt text translates. The file does not. Upload the translated file and choose it for that language.
- Text a third-party script carries inside itself. A consent banner or chat widget served from a CDN never passes through your server. Most such scripts take a language; LocalePro exposes the page’s locale in
window.localeproand inhtml lang. - Search results, 404 pages, previews, drafts, private and password-protected posts, and responses to a form POST are served from memory only and never sent to a provider. The shared parts of such a page (header, footer, menus) are still translated if they are already in memory.
See content and exclusions for how to extend the lists.
A provider is paused
Symptom. A notice on a LocalePro screen, or Site Health reporting LocalePro is not calling a translation provider. New sentences are served in your language.
Cause. The provider refused or failed a call, and LocalePro stopped calling it for a while rather than hammer it:
| Notice | Cause | Pause |
|---|---|---|
| refused further translations (quota) | The provider’s quota is used up. | One hour for DeepL and Microsoft; until midnight UTC for Google, whose daily cap resets then. |
| asked us to slow down | The provider rate-limited the site. | 60 seconds. |
| could not be reached | The provider did not answer. | 120 seconds. |
Fix. Check the quota on the provider’s side. The pause lifts on its own; the next visitor probes again, and another refusal re-opens it. There is nothing to click. If another provider is connected and covers the pair, it is used in the meantime. The pause length is filterable with localepro_circuit_ttl.
The monthly limit was reached
Symptom. An error-level notice on LocalePro screens: The monthly translation limit has been reached. Site Health shows the same as critical.
Cause. The ceiling under Settings → Usage & limits was hit. From 80% a warning shows first.
Fix. Raise or remove Characters per month, or wait for the calendar month to end. Everything already saved keeps being served. See usage and spend.
Staging shows your language only
Symptom. A staging or local copy serves saved translations but never translates anything new. An info-level notice says This is a staging site, so LocalePro is not sending anything to a translation provider.
Cause. Outside production, LocalePro refuses provider calls by default, so a copied database with production keys cannot bill the production account. The environment comes from wp_get_environment_type(); a host that sets nothing is treated as production.
Fix. Only if this copy is genuinely meant to spend: turn on Allow provider calls outside production under Settings → Usage & limits, or add to wp-config.php:
define( 'LOCALEPRO_ALLOW_PROVIDER', true );
Translated addresses return 404
Symptom. Every URL with a translated slug returns 404, while the editor still shows the slugs that should be serving them.
Cause. Translated slugs are stored twice: on the post, and in an index table the router reads. A database restored from before that table existed, a staging sync that copied posts and meta but not the plugin’s tables, or a migration done as a content export leaves the two apart.
Fix. Rebuild the index from the posts:
wp localepro slugs reindex
Safe to run at any time and safe to run twice. See WP-CLI. Changing the set of enabled languages schedules a rebuild on its own.
A request that uses the source slug under a language prefix is not a 404: it redirects (301) to the translated slug.
Emails go out in the source language
Symptom. WooCommerce order emails, form notifications, or other mail arrive untranslated.
Cause. Email translation is off by default. Even when on, a message goes out as written when nothing says which language the recipient reads, when two recipients read different languages, or when the language is one the site no longer offers. Addresses, headers, and attachments are never translated.
Fix. Turn on Translate emails into the language the recipient reads under Settings → Content. Mail uses the same pipeline as a page: a subject or body nobody has translated yet is translated on the first send, while the send waits. With Translate missing text during the first request off, nothing is translated on the fly and a cold email goes out in the source language; a subject line that appears nowhere but in an email never warms up on its own, so send yourself one of each notification after a template change. For a notification sent long after the visitor has gone, see template tags.
Content loaded after the page is not translated
Symptom. The page is translated, but a cart update, a live search dropdown, or a form reply arrives in the source language.
Cause. Translation of AJAX and REST responses is off by default. When it is on, the Query Monitor panel on the request names the reason it was skipped:
| Reason shown | Cause | Fix |
|---|---|---|
| Dynamic content translation is switched off | The setting is off. | Turn on Translate content loaded after the page renders under Settings → Content. |
| Not a fetch made by a page | The browser sent no Sec-Fetch-* headers. Browsers only send them from a secure origin. |
Serve the site over HTTPS. Site Health reports LocalePro cannot detect the language of background requests on a plain-HTTP site. A client can send X-LocalePro-Locale instead. |
| Nothing in the request said which language to answer in | No header, no language-prefixed referrer, no cookie. | The request came from a page without a prefix. |
| The request came from an admin screen | Editors never see translations. | Nothing to fix. |
| A write request is echoed back in the language it was written in | Only GET and HEAD are translated, apart from the WooCommerce Store API. |
Expected. |
| Some strings were not in translation memory | Responses are answered from memory, whole or nothing. The first caller gets the source and the endpoint is queued for background warm-up. | Load it again in a minute. |
| Some fields were not in translation memory; this route allows a partial answer | A WooCommerce Store API response was served field by field. | Same. |
Only known text fields are translated in a JSON response. A key not on the allowlist (name, title, label, content, rendered, and others) is left exactly as found; see content and exclusions for the filters.
Mixed languages after changing the source language
Symptom. After changing Source language under Settings → Languages, pages show a mix of old translations, new ones, and untranslated text, or translations stop being found.
Cause. A sentence’s identity is a hash of its source language and its text. Translations stored under the old source language are not found under the new one. LocalePro flushes its object cache when the source changes, so nothing stale is served, but the old rows stay in the database unused and every sentence is translated again on its next visit.
Fix. Set the source language once, before turning other languages on. After a change, wp localepro memory doctor lists how many strings exist per source language; a language listed there that is not the configured source is the sign. See WP-CLI.
The page looks half translated, or old
Symptom. A page shows an edit you reverted, or source text where a translation exists on the Translations screen.
Cause. Usually a page cache or CDN in front of the site holding an earlier copy. A page where a provider call failed is marked uncacheable (DONOTCACHEPAGE plus no-cache headers), but a page cache that ignores that constant, or a CDN with its own rules, can still store it.
Fix. Purge the translated path in your page cache or CDN. To automate it, hook localepro_cache_invalidate; see caching and CDN.
A manual translation is not shown
Symptom. A row on the Translations screen has a Manual value marked not applied, and the page shows the automatic translation.
Cause. The override drops one of the numbered tags (data-lt) from the source. They mark links and formatting inside the sentence, and a translation without them would lose a link.
Fix. Open Edit manual translation, put every numbered tag back, and save. See the Translations screen.
Characters come out as ? or are cut off
Symptom. Emoji or some CJK characters in a translation are truncated, and every visitor sees the truncated version.
Cause. The database uses the legacy 3-byte utf8 charset rather than utf8mb4. Site Health reports LocalePro’s tables cannot store every character a translation might contain.
Fix. Convert the database to utf8mb4.