Linux 软件免费装
Banner图

LATW AI Translation for Loco Translate – Auto Translate Plugin & Theme PO Files

开发者 szymon0zawadzki
更新时间 2026年11月23日 22:25
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

loco translate automatic translation auto translate openai ai translation

下载

1.0.0 2.1.0 2.1.1 2.1.2 2.0.0

详情介绍:

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 Three ways to translate Who it is for Features What it translates Engines Workflow Control and cost Free vs Pro The free version is not a trial. It translates your PO files into every language they exist in, permanently. Free Pro Everything in free, plus: 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: 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 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
  1. Install and activate Loco Translate.
  2. Install and activate LATW AI Translation for Loco Translate.
  3. 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.
  4. Optionally write a short website description, so the language model knows what kind of site it is translating.
  5. 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.
  1. Keep this plugin active, then go to Plugins → Add New → Upload Plugin and upload the Pro ZIP from your account.
  2. 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

屏幕截图:

  • An AI Translate button in the Loco Translate editor, next to Save and Sync. It queues the file you are looking at.
  • The result in Loco Translate: SEOPress in Polish, 100% of 2,687 strings, with every plural form filled in and the %s placeholder kept.
  • Translation history: the engine, model, tokens and actual cost of every job. All 2,687 strings of SEOPress cost $0.035 into Polish and $0.030 into German with GPT-6 Luna.
  • The dashboard: translations, cost, the queue and WP-Cron health at a glance.
  • Pick your engine. The free version includes LATW Cloud, OpenAI, Google Gemini, Google Translate and MyMemory. Pro adds Claude, DeepL and your own model.

升级注意事项:

2.1.1 If WP-Cron does not run on your site, AI Translator now tells you so and gives you a "Process queue now" button on every screen. Nothing to do. 2.1.0 New admin design and the newest AI models: an older selected model switches to the newest of its family. Also fixes a fatal error when used together with LATW Multilingual Pro. Settings, queue and history are untouched. 2.0.0 Six OpenAI models moved to Pro: a site using one now translates with GPT-5.4 nano. The free version sends one request at a time, in larger prompts. New: Gemini, Google Translate, MyMemory, LATW Cloud and processing modes. Jobs in progress during the update finish normally.

常见问题:

Do I need Loco Translate?

Yes. This plugin is an add-on for the free Loco Translate. Loco Translate manages the PO files and gives you the editor; this plugin fills in the empty strings with AI.

What can I do with the free version?

Translate your PO files into every language they exist in, using MyMemory, Google Translate, selected low-cost OpenAI and Gemini models, or LATW Cloud. It is not a trial and it does not expire. Pro adds more engines and models, an editable prompt, a glossary and bulk translation.

Do I have to keep the page open while it translates?

No. Files are translated by a queue on your server, processed by WP-Cron, or by LATW's servers with LATW Cloud. You can close the tab and come back later.

Does it overwrite my existing translations?

No. Only strings that are currently untranslated (empty msgstr) are sent and filled in. Pro can also re-translate strings Loco Translate marked as fuzzy, or a whole file from scratch, when you ask it to.

What about placeholders like %s and HTML?

The model is told to keep them. If a translation still changes a placeholder such as %s or %1$s, it is not saved: the string stays untranslated instead of breaking the plugin, and History shows how many strings were left out.

How much does translation cost?

With your own API key, your provider bills you directly; the cost depends on the model and the amount of text, and History shows what each job cost. In our test, a whole SEO plugin of 2,687 strings cost $0.03–0.04 per language with GPT-6 Luna. MyMemory is free within its daily quota. LATW Cloud prices each job by the number of words and charges it in LATW Credits — current prices are at latw.ai/cloud. Provider costs are separate from the Pro license.

Which models are supported?

The free version offers GPT-6 Luna (the default) from OpenAI and Gemini 3.5 Flash Lite from Google. Pro adds every other OpenAI and Gemini model, Anthropic Claude, DeepL and any OpenAI-compatible API. With LATW Cloud, the model is chosen for the site in your LATW account.

Which engine should I choose?

A language model (OpenAI, Gemini, or Claude in Pro) understands context and follows your website description, so it is the best choice for interface text. Google Translate and MyMemory are machine translation: quick, and MyMemory needs no key, but they do not use the website description. LATW Cloud is for when you don't want an API key or your server can't run long jobs.

Can I switch engines later?

Yes. Each engine keeps its own key and model. While the site is connected to LATW Cloud, the Engine setting is locked to it; click Disconnect under AI Loco Translator → Settings → General to use another engine again, and the one you used before comes back.

Can I customize translation prompts?

This plugin uses a carefully tuned built-in prompt, and you can describe your website under Settings → General to give the model context. A custom prompt and a glossary are available in the separate Pro version. With LATW Cloud, the prompt, the glossary and the website description are set for the site in your LATW account.

Which languages are supported?

Any language Loco Translate can create a PO file for. The target language is taken from each file's own locale, and the source language is asked when you queue a file.

My host disables WP-Cron. What can I do?

Enable "Manual Check Responses" in Settings → Advanced to get a button that dispatches and checks jobs on demand, configure a real server cron that hits wp-cron.php, run wp latwlt run from WP-CLI, or use LATW Cloud, which does not need WP-Cron at all.

What are the processing modes?

  • Background (default, OpenAI only): the request runs at the provider and WP-Cron collects the answer, usually within a few minutes, so long files don't hit your host's timeouts.
  • Synchronous: the plugin waits for the answer in the same run. Google Translate and MyMemory always work this way.
  • Batch: the engine's Batch API (OpenAI, Gemini) at about half the price. Most batches come back within an hour; providers guarantee 24 hours.

Will my translations survive a plugin or theme update?

Files in Loco Translate's Custom or System location do. Files inside the plugin's or theme's own folder can be replaced by an update, as Loco Translate warns in its editor. Keep the files you translate in the Custom location.

How do I get a Pro version?

Visit our website to purchase a Pro license.

更新日志:

2.1.2 2.1.1 2.1.0 2.0.0 1.0.0