LATW AI Translation for Loco Translate adds automatic AI translation to Loco Translate. Loco Translate stays your editor for plugin and theme translation files. This plugin fills in the strings that are still empty.
Pick a PO file on the
Translations screen, or open it in the Loco Translate editor and click
AI Translate. The file goes into a queue on your server. The untranslated strings are sent to the engine you chose, the answers are written back into the
.po file, and the matching
.mo file is compiled for you. You don't have to keep a browser tab open while it runs.
Why LATW for Loco Translate
- Whole files, translated in the background. A plugin with 2,700 strings is one click. The job runs on your server through WP-Cron, so you can close the tab and come back to a finished file.
- Your own API key, no word quota. OpenAI, Google Gemini, Google Translate, the free MyMemory, or LATW Cloud with no API key at all. Pro adds Claude, DeepL and your own model. The provider bills you directly, at their price. We add no credits, no word packs and nothing on top.
- Built into Loco Translate. An AI Translate button sits in the Loco Translate editor toolbar, next to Save and Sync. Results land in the same file Loco Translate edits, so you review and correct them there.
- Your existing translations are safe. Only strings with no translation are sent. A string you translated or corrected yourself is never overwritten.
- Placeholders stay intact. If a translation changes a placeholder such as
%s or %1$s, it is not saved. The string stays untranslated instead of breaking the translated plugin, and History tells you how many were left out.
- You see what every translation cost. History records the engine, the model, the tokens and the actual cost of each job.
- The free version is not a trial. Translate PO files into every language they exist in, with no time or language limit.
Three ways to translate
- With your own API key (free). Paste an OpenAI, Gemini or Google Translate key, or start with MyMemory, which needs no key. The provider bills you directly.
- With LATW Cloud (free plugin, pay per word). Click Connect with LATW and the translation runs on LATW's servers. You don't need an API key, a Pro licence or a working WP-Cron, and missing language files are created for you. Your first connected site gets 10,000 free words to try it. LATW Cloud is an optional paid service (see Third-Party Services below).
- With Pro. Every current model from OpenAI, Anthropic and Google, plus DeepL and any OpenAI-compatible API, bulk translation of many files at once, up to 50 requests in parallel, a custom prompt and a glossary.
Who it is for
- Developers and agencies who ship plugins and themes, or client sites, in several languages
- Site owners whose theme or plugins have no translation, or an incomplete one, in their language
- Anyone already using Loco Translate who doesn't want to fill hundreds of strings by hand
- Sites on hosts with short timeouts: files are translated in chunks of about 6,000 words, one request at a time, or entirely on LATW's servers with LATW Cloud
Features
What it translates
- The PO files Loco Translate manages: plugins, themes and WordPress core, in any of Loco Translate's locations (the plugin's own folder, the system folder or Loco Translate's Custom folder)
- Singular strings and every plural form of the target language
Engines
- Language models: OpenAI and Google Gemini (selected low-cost models in free), Anthropic Claude and every current model (Pro)
- Machine translation: Google Translate, MyMemory (free, no key), DeepL (Pro)
- Your own model or any OpenAI-compatible API: a model on your own server, OpenRouter, Groq (Pro)
- LATW Cloud: no API key, pay per word
Workflow
- Translations screen: every PO file grouped by plugin, theme and WordPress core, with the number of untranslated strings per language and a Translate button
- AI Translate button in the Loco Translate editor: queue the file you are looking at
- A queue processed by WP-Cron, with
.mo files recompiled automatically
- Processing modes: Synchronous, Background and Batch at about half the price (OpenAI, Gemini)
- A manual "Check Responses" button for hosts where WP-Cron does not run, and the
wp latwlt run WP-CLI command
- Bulk translation: pick many files, or every language of a plugin, and queue them in one click (Pro)
- Re-translate strings Loco Translate marked as fuzzy after a template sync, or a whole file from scratch (Pro)
Control and cost
- Existing translations are never overwritten: only empty strings are filled in
- Placeholder check: a translation that changes
%s, %1$s and similar is not saved
- Website description: tell the model once what your site is about, and every translation uses it
- Custom prompt and glossary to control tone and lock terminology (Pro)
- The cost of every job, with its engine, model and token usage
- Translation history with the raw request and response, plus file-based logs with an optional debug mode
Free vs Pro
The free version is not a trial. It translates your PO files into
every language they exist in, permanently.
Free
- Unlimited translations, every language
- Translations screen and the AI Translate button in the Loco Translate editor
- Background queue, one request at a time, up to about 6,000 words per request
- All processing modes, including Batch at about half price (OpenAI, Gemini)
- Website description
- Translation history, per-job cost tracking and logs
- Engines: MyMemory, Google Translate, selected OpenAI and Gemini models
- LATW Cloud
Pro
Everything in free, plus:
- Every current model from OpenAI, Anthropic (Claude) and Google (Gemini)
- DeepL
- Your own model, or any OpenAI-compatible API: a model on your own server, OpenRouter, Groq
- Bulk translation and up to 50 requests at the same time, so large plugins are done in minutes
- Re-translate fuzzy strings, or a whole file from scratch
- Editable translation prompt and glossary with CSV import and export
- Priority support
Pro is an add-on: it installs next to this plugin and adds its features to the screens you already know.
Get Pro
LATW Cloud
With
LATW Cloud, your server doesn't call an AI provider or wait for WP-Cron to collect the answer. LATW's servers read the untranslated strings of a PO file from your site, translate them and write the translations back into the file, so large plugins no longer depend on your host's timeouts.
LATW Cloud is a good fit if:
- you don't want to create an account with an AI provider or generate your own API key (pay with LATW Credits instead),
- WP-Cron doesn't run reliably on your site,
- your server is small and you don't want translations to load it,
- you want to manage translations for several sites from one dashboard.
Connecting. Under AI Loco Translator → Settings → General, pick LATW Cloud as the engine and click
Connect with LATW. A window opens where you sign in to your LATW account and authorize the site. The plugin does the rest and checks that LATW Cloud can reach your site. No Pro licence is needed.
Translating. Click Translate on the Translations screen or in the Loco editor as usual: the file goes to LATW Cloud and shows as "In LATW Cloud" in the queue. You can also pick files and single strings in your LATW account. If a plugin or theme has no file yet in one of your site's languages, LATW Cloud creates it when it saves the first translation, from the plugin's or theme's template, in Loco Translate's Custom location. WordPress core, and plugins or themes with no template, only get languages that already have a file. The model, the prompt, the glossary and the website description are set for the site in your LATW account.
Requirements. The site must be reachable from the internet. If a security plugin, firewall or password protection blocks access, LATW Cloud tells you when you connect or click Test connection.
Your data. LATW Cloud does not store your source texts. They are processed only while a translation is running. Finished translations are written straight back to your site. A translation is stored on LATW's servers only when your site can't be reached at that moment. In that case it is kept for up to 7 days until it can be delivered, and then deleted.
Cost. LATW Cloud prices each job by the number of words and charges it in LATW Credits. Current prices are at
latw.ai/cloud.
Requirements
- WordPress 6.2 or higher
- PHP 7.4 or higher
- The free Loco Translate plugin, installed and active. This is an add-on for Loco Translate, not a standalone translation plugin.
- An API key for the engine you choose. MyMemory needs none, and LATW Cloud needs a LATW account instead.
- Working WP-Cron, or a real server cron job calling wp-cron.php, for background translation. If neither is available, use the manual "Check Responses" button, the
wp latwlt run command or LATW Cloud.
Third-Party Services
Content is sent only to the engine you selected in the plugin settings, and only when you start a translation. Nothing is sent without your action, and every request goes directly from your WordPress server to that provider — except with LATW Cloud, described last, where LATW's servers do the translating.
OpenAI API
Google Gemini API
Google Cloud Translation API
MyMemory (Translated S.r.l.)
LATW Cloud
Only when you connect the site. LATW's servers then read the strings to translate from your site through the WordPress REST API, have them translated by the AI model chosen for the site and write the translations back.
Quick start
- Install and activate Loco Translate.
- Install and activate LATW AI Translation for Loco Translate.
- Go to AI Loco Translator → Settings, choose an engine and paste its API key. Starting with MyMemory needs no key at all. Or pick LATW Cloud and click Connect with LATW.
- Optionally write a short website description, so the language model knows what kind of site it is translating.
- Open AI Loco Translator → Translations, pick a PO file and click Translate, or open any file in the Loco Translate editor and click AI Translate.
Translations are processed by the plugin's WP-Cron worker (with LATW Cloud, by LATW's servers). Reload after a minute to see the results, and check
History for what was sent, what came back and what each job cost.
To translate into a language that has no PO file yet, create it in Loco Translate first with
New language. With LATW Cloud, missing files of plugins and themes that ship a template are created for you.
Adding Pro
Pro is a separate plugin that installs next to this one and adds its features to the screens you already use. Nothing is migrated: your settings, queue and history stay where they are.
- Keep this plugin active, then go to Plugins → Add New → Upload Plugin and upload the Pro ZIP from your account.
- Activate it, then enter your licence key under AI Loco Translator → Settings → License.
If you remove Pro later, the plugin goes on translating with the free engines and models.
Where to get an API key