NabuLingo

By Stefan Obholz

0+ active installationsVersion 0.12.2

Translates WordPress pages on demand through the NabuLingo service. Language folders, hreflang, switcher. Site key needed (free key in settings).

Description

NabuLingo translates your WordPress site through the external NabuLingo translation service (https://nabulingo.com). When a visitor opens a page in another language, the plugin requests missing translations and stores completed ones in your WordPress database.

A site key (token) is required. NabuLingo is a subscription service of OBHOLZ SOLUTIONS (Roding, Germany), see plans and prices. A free key (plan Free) can be requested in Settings > NabuLingo (email address, confirmation link). Contact: hello@nabulingo.com.

What the plugin does

  • Translates the finished page: visible text of content, titles, menus, widgets, footer and browser title, plus the alt, title, placeholder and aria-label attributes and button labels. HTML tags, code (<code>, <script>, <style>, <pre>) and anything marked translate="no" or notranslate stay as they are.
  • Gives every language version an address of its own: a folder per language (example.com/fr/about/) on new installations, or the parameter ?nabu_lang=fr (sites updated from 0.10.x keep it until they switch, then old addresses redirect with 301; with permalink setting “Plain” it is always used).
  • Adds hreflang and canonical links; with folders, WordPress sitemaps can list completed language versions.
  • Provides a language switcher with the shortcode [nabulingo_lang_switcher] (attribute display) and caches completed translations in your WordPress database.
  • Background translation (Settings > NabuLingo): translates published posts and pages in advance. It starts by itself when an administrator saves a first site key or a new language and the estimate is at most 5,000 words (can be switched off); otherwise a button asks you to confirm. It can use your word allowance for pages nobody has visited yet.
  • Lets editors correct translations in a list (Tools > NabuLingo translations, costs no words) and administrators list names that are never translated. A list, not an editor on the page; no fixed translation per language.
  • If a translation is unavailable, the text stays in the source language (waiting time at most about 3.5 seconds per page view).
  • Never sent to the service: pages viewed by logged-in users, private, draft, pending and scheduled posts, password-protected posts, search results, 404 pages and previews. They show only translations that already exist. Exception: on the WooCommerce cart, checkout, order confirmation and My Account only texts that are the same for every visitor (labels, buttons) are sent, never customer data or anything a visitor typed. A page that answers a form sends nothing.
  • Exposes a REST endpoint (/wp-json/nabulingo/v1/translate) for users who can edit posts (see External Services).

What the plugin does NOT do

  • No payments, no tracking and no cookies of its own. A free-key request creates a free key and a NabuLingo customer account for the email address you enter (it shows the key and your usage again).
  • No contact with the service until an administrator has entered a site key and picked a target language. Exception: the free-key request, sent when an administrator clicks Request free key and ticks the consent box.
  • Not translated: text created by JavaScript after page load, form field values, text inside images and feeds. The optional Multilingual SEO setting translates selected search and social metadata on supported public pages.

External Services

This plugin connects to the NabuLingo service, a JSON API run by OBHOLZ SOLUTIONS as a Cloudflare Worker at nabulingo-worker.stefan-obholz.workers.dev (no public landing page, only API endpoints under /v1/).

  • Translation requests send eligible page text (including approved comments, navigation labels and accessible labels), your site key, source and target languages, and request settings. The User-Agent identifies the plugin and WordPress version. Names from your list of protected names are replaced by neutral markers before sending. Corrections are never sent.
  • The plugin contacts the service when a visitor requests a target language and the local translation is missing, during background translation, or on an authorized REST request (server to server; the visitor’s IP address is not forwarded).
  • Free-key request (only when an administrator clicks Request free key in Settings > NabuLingo and accepts the terms): the plugin sends the email address typed in, the address (host name) of your website, the source language and the first target language to POST /v1/free/request. The service sends a confirmation email to that address; the key is created only after the link in that email is used. Nothing is sent otherwise.
  • The plugin also checks support for confirmed translations on eligible language pages: it sends the site key and standard WordPress HTTP metadata (which can include the site’s address and WordPress version), no page text.
  • REST endpoint POST /wp-json/nabulingo/v1/translate: only for logged-in users who may edit posts (visitors get 401, subscribers 403). It sends the text supplied by the caller (at most 8,192 bytes, one configured target language), your site key and the languages to the service and returns the translation. It reads no page on its own.
  • The service may pass text to AI translation providers (for example DeepL, OpenAI or Anthropic); the current list is in the privacy policy.
  • Service: https://nabulingo.com
  • Terms of Service: https://nabulingo.com/legal/agb
  • Privacy Policy: https://nabulingo.com/legal/datenschutz

Installation

  1. Install and activate the plugin.
  2. Open Settings > NabuLingo.
  3. Choose the languages and the address format, and save.
  4. Enter your site key, or request a free key: confirm the email and paste the key shown on the confirmation page.
  5. Put [nabulingo_lang_switcher] in a widget area, menu or page.

FAQ

Where are translations stored?

In a table of your own WordPress database (nabulingo_cache), with your corrections. Deleting the plugin removes the table and all settings.

What happens when the service cannot be reached?

Missing text stays in the source language. Incomplete language pages use noindex and no-store, and administrators see the reason.

How do I correct a translation or keep a name untranslated?

Open Tools > NabuLingo translations (or “Edit translation of this page” in the admin bar), pick the language, change the text, save. A correction costs no words and is never replaced by the service. Administrators keep the protected names on the same screen; if the service loses such a name, the text stays in the source language and is marked. Empty your page cache afterwards.

Does it work with WooCommerce?

Tested with WooCommerce 11.3 and Twenty Twenty-Five. Shop, product pages, cart, checkout, order confirmation and My Account (classic pages) are translated; “Add to cart” and other forms keep the language. Limits: the cart and checkout blocks and the address labels of the classic checkout come from the browser and show the page language only with the WordPress language pack of that language (set the language once under Settings > General > Site Language, then Dashboard > Updates > Update translations); product, shipping and payment names loaded by blocks, texts with names (“Hello Anna”) and everything a customer typed stay as they are; dates and prices keep your settings; e-mails use the site language. Other shop systems were not tested.

Does it work with Polylang or WPML?

Not together. With Polylang, WPML, TranslatePress or Weglot active, a warning appears and NabuLingo writes no hreflang links (tested with Polylang only).

Which address format should I use?

Folders (/fr/about/) give every language version a clean address and a place in the WordPress sitemap; /fr/ is then the French home page, so a page with the slug fr cannot be opened there (the settings page names it). The parameter is kept for sites that used it before 0.11. Switch once and stay with it: browsers remember permanent redirects.

Why is my own view partly untranslated when I am logged in?

Logged-in views do not call the service, except for the fixed texts (no customer data) of the WooCommerce cart, checkout and My Account. Use a private window.

Does it work with page caches?

With folders a page cache keeps one copy per language; incomplete pages are not stored (DONOTCACHEPAGE, and for WP Fastest Cache its own exclude call). Empty the page cache after switching the address format and after correcting a translation. Tested with WP Super Cache 3.1.5, W3 Total Cache 2.11.0, LiteSpeed Cache 7.9.3 on OpenLiteSpeed and WP Fastest Cache 1.5.5 (free version). With WP Fastest Cache, use language folders: with the parameter ?nabu_lang=, links with tracking parameters (utm_source and the like) show the source language. Its page exclusions of type “Starts With” or “Is Equal To” apply only to the address as written; add the language addresses (fr/contact) or use “Contains”.

Screenshots

Changelog

0.12.2

  • Fixed: WP Fastest Cache kept one copy of a page for all languages and kept unfinished pages. Each language address now has its own cache file and unfinished pages are not stored. Empty the WP Fastest Cache once after the update.

0.12.1

  • Changed: background translation is much faster, one request at a time.
  • Changed: saving a first site key or a new language in the settings form starts it by itself (estimate up to 5,000 words, new language only).
  • Changed: free key consent names the data processing agreement; settings page notes AI translations.

Older versions: changelog.txt in the plugin folder.