LocalePro
Menu

Docs

Multisite

How LocalePro behaves on a WordPress network — network activation, per-site settings and memory, licence seats, and links that belong to another site.

LocalePro runs on each site of a WordPress network. Settings, translation memory, and the licence seat are per site. There is no network settings screen.

Network activation

Network activation is supported. When you activate LocalePro for the network, the plugin walks every site, installs its tables on that site, flushes that site’s rewrite rules, and purges that site’s robots.txt from the edge cache.

A site created later is not visited by that walk. Its tables are created on the first request, when the plugin checks the schema. Rewrite rules on that new site are flushed when you save languages, or if you activate the plugin on that site.

Network deactivation as written runs only on the site that triggered it: that site’s scheduled jobs are cleared, that site’s licence seat is released, and that site’s rewrite rules are rebuilt. It does not walk the network.

Per-site settings and memory

Every LocalePro option is a site option (localepro_languages, localepro_license_key, and the rest). There are no network options. Languages, exclusions, the monthly limit, and the deletion toggle are chosen per site.

Tables use that site’s prefix: wp_localepro_segments on the main site, wp_3_localepro_segments on blog 3. Memory is not shared. A sentence translated on one site is not served on another.

The admin screens (Translations, Tools, Settings) appear on each site for anyone who can manage_options there. They are not registered as network-admin pages.

Licence seats

A seat is claimed for one site, identified by that site’s home URL. A network of three sites that each save the key uses three seats. The plan you bought is the limit (1, 3, or 10 unless we arranged something larger); a site past that limit is refused. See Add your key.

A key in wp-config.php or in the environment is the same string on every site and cannot be edited per site. The seat is still that site’s home URL. Deactivating the plugin on one site releases that site only.

WP-CLI

Commands run in the site WordPress loaded. On a network, pass --url so you hit the site you mean:

wp localepro memory export --url=https://example.com/site-b/ --file=tm.jsonl
wp localepro slugs reindex --url=https://example.com/site-b/

--path is the other usual flag when you are outside the install directory. See WP-CLI.

On a subdirectory network, a page on this site may contain a link to another site on the same host (/site-b/about/). LocalePro does not put a language prefix on those paths. It collects the other sites’ subdirectory paths (up to 200 sites) and leaves them alone. Add more prefixes with the localepro_foreign_paths filter if something else shares the host.

Links to a different host are left alone in any case.

Uninstall

WordPress runs a plugin’s uninstall once. LocalePro’s uninstall walks every site on the network, clears scheduled jobs on each, and wipes only the sites that turned Delete all translations and settings when this plugin is deleted on. That setting is per site. The walk, the tables, and what is never removed are on Uninstall and your data.