Docs
Requirements
WordPress and PHP versions LocalePro needs, the extensions it uses, HTTPS, object cache, and a database note for some older hosts.
LocalePro is a WordPress plugin. It stores translations in your database and calls DeepL, Google, or Microsoft when a sentence is new. What it needs from the host is below.
WordPress
WordPress 7.0 or newer. Translation keys live in WordPress’s own Settings → Connectors screen, which arrived in 7.0. That screen is why the plugin will not activate on an older WordPress. See Connect DeepL, Google, or Microsoft.
An AI provider, if you use AI refinement, is connected on the same screen.
PHP
PHP 8.1 or newer. That is the version in the plugin header and in composer.json.
composer.json does not list extra PHP extensions. The code uses:
- json — every provider response, licence call, and import format.
- mbstring — character counts, glossary matching, and most string slicing. The masked licence key on the settings screen falls back if
mb_substris missing; the rest of the plugin does not. - curl — not called by name. Outbound requests go through WordPress’s HTTP API, which uses curl when it is available.
HTTPS
Serving the site over HTTPS is recommended if Translate content loaded after the page renders is on. Browsers only send the headers LocalePro uses to recognise a fetch() from a secure origin, so on HTTP those later requests stay in the site language. Older jQuery-based requests still work. A client that cannot use HTTPS can send the X-LocalePro-Locale header instead. Site Health reports this as a recommendation, not a failure.
Ordinary page translation does not depend on HTTPS.
Object cache
A persistent object cache (Redis, Memcached, or the one your host provides) is optional. Without one, translations are re-read from the database on every request. With one, a warm page is answered from memory. See Caching and CDN.
Database
Tables are created on activation, and again on the first request if the stored schema version is behind. On some older hosts the database still uses the COMPACT row format, where an index key may not exceed 767 bytes. LocalePro’s uniq_identity index is larger than that on utf8mb4, and the server then refuses CREATE TABLE. The plugin writes a line to the error log naming the table that was not created. Translations cannot be stored until that is fixed (the host moves the table to a wider row format, or you are not on that host).
Table names use the site prefix: wp_localepro_segments on a single site, wp_3_localepro_segments on a multisite subsite. See Multisite.
WordPress VIP
WordPress VIP is supported. The plugin detects VIP Go, reads environment variables the way VIP documents (vip_get_env_var), and purges the VIP edge cache for robots.txt when languages change. On VIP the page cache ignores Vary, so the browser-language redirect runs in the browser instead; that is described under Caching and CDN. WP-CLI export paths must stay under the temp directory or wp-content/uploads.
Related
- Install, for download and upload.
- Multisite, for network activation and per-site tables.
- Uninstall and your data, for what deletion removes and the same database notes if a reinstall fails to create its tables.