Documentation
How to install Zerø Lingua, translate a site, move from WPML and connect AI or agents. Written for the person who edits the site; the developer notes are at the end.
Quick start
From the zip to a second language on your site in a few minutes. Nothing changes for visitors until you decide it does.
Install
Download zero-lingua.zip. No form, no account.
In wp-admin, Plugins → Add New → Upload Plugin, choose the zip and activate it. It needs WordPress 6.5 or newer and PHP 8.2 or newer.
Answer the setup card: the language your content is written in, the languages to translate into, and whether you translate by hand or with AI. Coming from WPML, the card offers the import instead.
Until you answer the card, Zerø Lingua reads nothing of your content and shows visitors nothing new. The languages you add start not live: you can translate at your own pace, and visitors only see a language once you press Go live on the translation bar.
The translation bar
Translation happens on the page itself. Open any page while logged in and click ø in the admin bar: the bar opens at the bottom of the page. Click a sentence and type, or translate the whole page with AI. From Bricks, Elementor or Etch the same bar opens over the builder.
page info holds what the page says outside its body: address, SEO title and description, social previews.
hidden lists texts the page has but doesn’t show right away: folded content, pop-ups, form messages, texts painted by scripts.
Two switches on every text: no AI keeps the AI away from it, keep original serves it untranslated in every language.
After Use original on an image,
⌘Zbrings the translated one back in place.
Four states
Every text shows one of four states, the same in the bar, the console and «all texts».
to translate
No translation yet. Visitors read the original.
to approve
A translation nobody has signed off yet: AI, imported or written by an agent. to approve · live means visitors already see it.
approved
Read and approved by a person. This is what visitors get.
original
Kept in the original on purpose, or already written in that language.
Language switcher
Settings → language switcher is the one place to set it up. Place it with the Language switcher block, the Bricks element, the Elementor widget or the [zero_lingua_switcher] shortcode; every placement follows the same settings.
Shape by width: choose the breakpoint where the full list turns into a compact menu.
Labels and flags, appearance presets, or your own CSS over documented variables.
An optional floating corner, on every screen or only on small ones.
A live preview on your real home page, at desktop, tablet and mobile width.
Builders, images & overrides
One canonical page per post, translated where it renders. No duplicated pages to keep in sync.
Bricks 2.4+
Elements, components, templates, popups, query loops and filters, AJAX pages, and page settings as an SEO surface. A launcher on the Bricks toolbar opens the bar.
Elementor 3.20+ and 4.x
Widgets, text editor paragraphs, dynamic tags, templates and the V4 Atomic Widgets. Works with Element Caching on, and adds a native Language Switcher widget.
Etch
Elements, components, loops and dynamic data. The panel docks inside the builder.
Gutenberg
Core blocks, block bindings and the switcher block.
Classic content
Bodies without blocks are cut into what a reader sees: paragraphs, headings, list items.
Anything else
The HTML seam reads the finished page and translates what is left. On by default; what it doesn’t translate stays byte for byte.
Images per language
Swap a picture per language from the image’s card: Etch images, Gutenberg Image, Gallery, Cover and Media & Text, Bricks and Elementor image widgets, sliders and galleries, featured images and the site logo. The picker reads your media folders from HappyFiles, FileBird, Real Media Library, Premio Folders and Wicked Folders. If a translated image is deleted, the original comes back on its own.
Only people who can upload media change images. Reviewers still see them and translate their alt text.
Only here
The same text can read differently in one place. Only here keeps a translation for that menu item or element alone, while every other place keeps the shared one; Use shared goes back. It works in Bricks, Elementor, Gutenberg, Etch, classic posts and menus, and adds nothing to the page visitors receive.
Keeping things out
translate="no", or thenotranslateclass, on any element keeps it as it is in every language.keep original on a text does the same from the bar, one text at a time.
A custom field can be left out site-wide from the ▾ beside keep original, or in code with the
zero_lingua/translatable_fieldfilter.
WooCommerce & SEO
Included in the free plugin, on every site.
WooCommerce
Product titles, descriptions, short descriptions, categories and attributes, and the merchant’s labels on product and checkout pages.
The Store API answers in a language:
/wp-json/wc/store/v1/products?lang=es, for block-based and headless shops.Every order keeps the language it was placed in. The customer’s emails go out in that language, wherever they are sent from; emails to the shop stay in the shop’s language.
Prices follow each language’s number notation.
SEO
Pages are translated on the server before they are sent: no translation script for visitors, and search engines read every language as plain HTML.
Translated slugs, and translated URL bases for post types, archives, taxonomies and shop endpoints, with a 301 from the old address.
hreflangwithx-default, a self-referencing canonical per language, and translated titles, descriptions and social tags.A sitemap with every live language and its alternates.
Works with Slim SEO, Yoast SEO, Rank Math and SEOPress.
When a translation changes, the page cache is purged for you: LiteSpeed Cache, FlyingPress, WP Rocket, the Cloudflare plugin and other common caches.
Migrating from WPML
Built in, and loaded only while WPML is on the site or has something left to import. Every change is logged and can be undone.
Check
See what the import would do. Writes nothing.
Import
Everything but the close. WPML keeps serving the site meanwhile.
Close
WPML’s copies go to the Trash and WPML is deactivated. Zerø Lingua serves the site from here.
Keep or Undo
Keep once the site is checked; Undo puts everything back, WPML included.
Run it from Zerø Lingua → WPML import in wp-admin.
What comes along
WPML’s per-language copies merge into their originals as translations, so each page exists once.
The copies’ IDs become aliases: old order lines,
?p=links and?add-to-cart=keep working.String Translation, translated slugs, URL bases and endpoints, menus, and each order’s language. Where a menu item or element was translated differently in one place, that becomes an Only here translation.
From a shell
# 1 · dry run, writes nothing
wp zero-lingua wpml plan --report=plan.json
# 2 · import; prints the run id
wp zero-lingua wpml import --yes
# 3 · close
wp zero-lingua wpml import --steps=close --run=<id> --yes
# 4 · keep, or undo
wp zero-lingua wpml confirm --run=<id> --yes
wp zero-lingua wpml undo --run=<id> --yes
A shop’s import builds its plan in memory and asks for 512 MB. If the host refuses it, the page says so and gives the command that finishes it from a shell.
AI & agents
AI translation and the agent tools are what the Pro license unlocks. Your texts go straight from your site to the provider you choose, on your own key.
AI translation
Bring your own key: Claude, OpenAI, Gemini or DeepL, or any OpenAI-compatible endpoint, a local model included.
On WordPress 7.0 or newer, use any provider already set up in Settings → Connectors (WordPress AI), without pasting a second key.
A monthly budget per provider: a warning at 80 %, and everything stops at 100 % until the month turns or you raise it.
A glossary (words to keep, preferred translations) and a site brief travel with every request.
When an original changes, the model receives the current translation and changes only what changed. Human edits survive.
Remote MCP
Connect an AI app to your site over HTTPS at:
https://your-site.com/wp-json/zero-lingua/v1/mcp
It is off by default; turn it on in Settings → agents & CLI. Paste the URL into an app that supports OAuth and authorize it from wp-admin (OAuth 2.1 with PKCE), read-only or read-and-translate, or use an Application Password. Revoke access from the same tab.
Local MCP
For Claude Code, Claude Desktop or any host that runs a local server. Settings → agents & CLI fills in the values and creates the Application Password for you.
claude mcp add zero-lingua
-e ZL_SITE_URL=https://your-site.com
-e ZL_USER=youruser
-e "ZL_APP_PASSWORD=xxxx xxxx xxxx xxxx"
-- npx -y @zerolingua/mcp
WordPress Abilities
On WordPress 6.9 or newer, the same read and translate tools are registered as Abilities, on by default and under the same Pro lock. With the MCP Adapter plugin active they get a zero-lingua server of their own.
Developers & WP-CLI
Everything a developer needs goes through functions, hooks and WP-CLI, never through the editor’s screens.
Helpers
if ( function_exists( 'zero_lingua_current_language' ) ) {
$lang = zero_lingua_current_language(); // 'es'
$url = zero_lingua_permalink( $post_id, 'es' ); // or null
echo esc_html( zero_lingua_text( 'Read more' ) );
}zero_lingua_current_language()answers which language this request is in. Call it atwp_heador later.zero_lingua_permalink()is the translated twin ofget_permalink(), for exports, PDFs and emails.zero_lingua_text()registers a string written in a template and serves its approved translation.The REST API answers in a language with
?lang=es.
Every filter, action and function is documented in HOOKS.md, which ships inside the plugin folder.
WP-CLI
Every command needs --user and acts with that user’s permissions. wp help zero-lingua lists the rest.
wp zero-lingua setup
Finish the first setup without wp-admin: --source=en --targets=es,de.
wp zero-lingua status
What each language still owes; --queue adds the AI queue and budget.
wp zero-lingua translate
Queue what a language is missing for AI; --dry-run counts first.
wp zero-lingua export / import
JSON backup of everything, or XLIFF and CSV per language.
wp zero-lingua recollect
Finish a pending re-collect pass without waiting for WP-Cron.
wp zero-lingua wpml
The WPML migration: plan, import, confirm, undo, status.
wp zero-lingua search-replace
After moving a site, run it with the same two strings as wp search-replace.
Licensing, updates & privacy
One plugin, the same zip for everyone. A license only unlocks AI and the agent tools.
€0, forever
The whole plugin on unlimited sites: translation by hand, the bar, every builder, images per language, WooCommerce, SEO, the WPML import and signed updates.
€79 per site, once
Adds AI translation on your own key, remote and local MCP, and WordPress Abilities. Lifetime, no subscription. Paid licenses open with version 1.0.
Your license
One key is one site. Enter it in Settings → license & privacy; deactivating it there frees the seat for another site.
Lost the site or the key? updates.zerolingua.studio/license/lost sends a one-use link to free a seat or replace the key.
Licenses live on our own server at
updates.zerolingua.studio, on Cloudflare, with the data stored in the EU.
Updates
Every release is signed with Ed25519, and every install, free or Pro, checks the signature before it updates. Updates never need a license.
What leaves your site
Update check, about twice a day. It also counts active installs anonymously: no IP and no URL are stored. To opt out, add
define( 'ZERO_LINGUA_UPDATE_STATS', false );towp-config.php; updates keep working.License check, only if you activate a key.
AI requests, only when you translate, straight to your provider.
No tracking of your visitors and no third-party script on your front end. The details are on the privacy page.
Something missing or wrong here? Write to [email protected].