{"id":380838,"date":"2026-10-08T11:47:19","date_gmt":"2026-10-08T11:47:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/automate-ai-translation-for-translatepress\/"},"modified":"2026-10-08T11:47:06","modified_gmt":"2026-10-08T11:47:06","slug":"melotools-ai-translation-translatepress","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/melotools-ai-translation-translatepress\/","author":23579712,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.3","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"MeloTools AI Translation for TranslatePress","header_author":"MeloTools","header_description":"Translate TranslatePress pages in one click with Claude, ChatGPT, Gemini, Groq or a local Ollama or LM Studio model. Start free with no API key, or add your own key for better quality.","assets_banners_color":"7f97e0","last_updated":"2026-10-08 11:47:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/melotools.com\/plugins\/melotools-ai-translation-translatepress","header_author_uri":"https:\/\/melotools.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":33,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"melotools","date":"2026-10-08 11:47:06","revision":3734445}},"upgrade_notice":{"1.0.1":"<p>Fixes strings saved in the source language, stale previews on cached sites, and missed strings in non-English editors.<\/p>","1.0.0":"<p>First public release on WordPress.org. Fixes saving of translations from the editor; please update.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3734445,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3734445,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3734445,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3734445,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3734445,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3734445,"resolution":"1","location":"assets","locale":"","width":1280,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3734445,"resolution":"2","location":"assets","locale":"","width":1280,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3734445,"resolution":"3","location":"assets","locale":"","width":1280,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3734445,"resolution":"4","location":"assets","locale":"","width":1280,"height":900}},"screenshots":{"1":"Dashboard: choose Free basic or an AI provider, with translation statistics.","2":"Connect a provider: get a key in three steps, paste it and save.","3":"Settings: site tone, words to keep as they are, and speed.","4":"The Translate page button, Undo last run and Clear machine translations in the TranslatePress visual editor."}},"plugin_section":[],"plugin_tags":[220668,216196,99,195341,2333],"plugin_category":[48],"plugin_contributors":[285003],"plugin_business_model":[],"class_list":["post-380838","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-translation","plugin_tags-chatgpt","plugin_tags-multilingual","plugin_tags-translatepress","plugin_tags-translation","plugin_category-language-tools","plugin_contributors-melotools","plugin_committers-melotools"],"banners":{"banner":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/banner-772x250.png?rev=3734445","banner_2x":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/banner-1544x500.png?rev=3734445","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/icon.svg?rev=3734445","icon":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/icon.svg?rev=3734445","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/screenshot-1.png?rev=3734445","caption":"Dashboard: choose Free basic or an AI provider, with translation statistics."},{"src":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/screenshot-2.png?rev=3734445","caption":"Connect a provider: get a key in three steps, paste it and save."},{"src":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/screenshot-3.png?rev=3734445","caption":"Settings: site tone, words to keep as they are, and speed."},{"src":"https:\/\/ps.w.org\/melotools-ai-translation-translatepress\/assets\/screenshot-4.png?rev=3734445","caption":"The Translate page button, Undo last run and Clear machine translations in the TranslatePress visual editor."}],"raw_content":"<!--section=description-->\n<p>MeloTools AI Translation adds a <strong>Translate page<\/strong> button to the TranslatePress visual editor. Pick a language, click once, and every untranslated string on the page is translated by the AI provider you choose, then saved into TranslatePress for you to review.<\/p>\n\n<p><strong>Start free, no key needed.<\/strong> The Free basic option uses the translator built into Chrome and Edge on desktop. The text is translated on your computer and is not sent to any AI service. Quality is basic, so review the result.<\/p>\n\n<p><strong>Better quality with your own AI provider.<\/strong> Connect Claude (Anthropic), ChatGPT (OpenAI), Gemini (Google) or Groq with your own API key. You pay the provider directly at their rates; there is no extra subscription or middleman.<\/p>\n\n<h4>What it does<\/h4>\n\n<ul>\n<li>One-click translation of a whole page in the TranslatePress visual editor.<\/li>\n<li>Translates only untranslated strings by default. Strings you translated or edited yourself are never overwritten.<\/li>\n<li>Optional \"redo\" for a page: replace earlier machine translations, and, as a separate confirmed choice, your own edits too.<\/li>\n<li>Undo the last run, or clear the machine translations on a page. Your own edits are always kept.<\/li>\n<li>Shows the size of each run before large jobs, and warns when a translation looks like the wrong script or the wrong Chinese variant (Traditional or Simplified).<\/li>\n<li>Every result is checked against the original before it is saved: HTML tags, links, placeholders and shortcodes must be unchanged, or the result is rejected.<\/li>\n<li>Optional tone and glossary settings, so brand names and key terms are translated consistently.<\/li>\n<li>Simple dashboard with step-by-step setup for each provider and a Test connection button.<\/li>\n<li>Translation statistics: strings and characters translated, and the last run.<\/li>\n<\/ul>\n\n<h4>Built for safety<\/h4>\n\n<ul>\n<li>Administrators only, with a nonce check on every request.<\/li>\n<li>API keys are private to the user who saved them and stored encrypted.<\/li>\n<li>Provider addresses are fixed in the code, so the plugin cannot be pointed at other servers.<\/li>\n<li>Nothing is loaded for visitors, no cron jobs and no tracking.<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/translatepress-multilingual\/\">TranslatePress<\/a> installed and set up with at least one extra language.<\/li>\n<li>For Free basic: Chrome or Edge on desktop with the built-in translator available.<\/li>\n<li>For AI providers: your own API key from the provider.<\/li>\n<\/ul>\n\n<p>Setup guide and documentation: <a href=\"https:\/\/melotools.com\/docs\/melotools-ai-translation-translatepress?utm_source=wordpress.org&amp;utm_medium=readme&amp;utm_campaign=ocat\">MeloTools AI Translation docs<\/a>.<\/p>\n\n<p>This plugin is made by <a href=\"https:\/\/melotools.com\/?utm_source=wordpress.org&amp;utm_medium=readme&amp;utm_campaign=ocat\">MeloTools<\/a>, the maker of free online image optimisation tools. It is an independent add-on and is not affiliated with or endorsed by TranslatePress (Cozmoslabs), Anthropic, OpenAI, Google or Groq. All product names are trademarks of their respective owners.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin sends text to the AI provider you choose, only when an administrator clicks Translate page or Test connection. What is sent: the untranslated text strings of the page, the language names, and the optional tone and glossary text from the settings. No visitor data is sent. Nothing is sent when you use Free basic.<\/p>\n\n<ul>\n<li>Anthropic (Claude), api.anthropic.com: <a href=\"https:\/\/www.anthropic.com\/legal\/commercial-terms\">terms<\/a>, <a href=\"https:\/\/www.anthropic.com\/legal\/privacy\">privacy policy<\/a><\/li>\n<li>OpenAI (ChatGPT), api.openai.com: <a href=\"https:\/\/openai.com\/policies\/terms-of-use\/\">terms<\/a>, <a href=\"https:\/\/openai.com\/policies\/privacy-policy\/\">privacy policy<\/a><\/li>\n<li>Google (Gemini API), generativelanguage.googleapis.com: <a href=\"https:\/\/ai.google.dev\/gemini-api\/terms\">terms<\/a>, <a href=\"https:\/\/policies.google.com\/privacy\">privacy policy<\/a><\/li>\n<li>Groq, api.groq.com: <a href=\"https:\/\/groq.com\/terms-of-use\">terms<\/a>, <a href=\"https:\/\/groq.com\/privacy-policy\">privacy policy<\/a><\/li>\n<\/ul>\n\n<p>Check each provider's current terms. Free tiers can use prompts to improve the provider's products.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate TranslatePress, and add at least one translation language in Settings &gt; TranslatePress.<\/li>\n<li>In WordPress, go to Plugins &gt; Add New Plugin, search for \"MeloTools AI Translation for TranslatePress\", then click Install Now and Activate. Or upload the plugin zip in Plugins &gt; Add New Plugin &gt; Upload Plugin.<\/li>\n<li>Go to Settings &gt; MeloTools AI Translation. Free basic is active straight away. To use an AI provider, choose its tile, follow the short steps to get an API key, paste it and click Save and activate.<\/li>\n<li>Open a page with Translate Site (TranslatePress editor), choose a language and click Translate page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20it%20free%3F\"><h3>Is it free?<\/h3><\/dt>\n<dd><p>Yes. The plugin is free, and Free basic needs no key and costs nothing. AI providers charge you directly for what you use. Gemini and Groq offer free tiers with limits. Set a spending limit with your provider.<\/p><\/dd>\n<dt id=\"i%20see%20%22http%20429%22%20or%20%22rate%20limit%20reached%22.%20what%20now%3F\"><h3>I see \"HTTP 429\" or \"Rate limit reached\". What now?<\/h3><\/dt>\n<dd><p>Your provider's free tier has a limit per minute and per day, set by the provider, not by this plugin. Wait and click Translate page again: strings that were already translated are kept, so it continues where it stopped. For larger sites, enable billing with your provider or choose another model under Model (optional).<\/p><\/dd>\n<dt id=\"will%20it%20overwrite%20translations%20i%20edited%20myself%3F\"><h3>Will it overwrite translations I edited myself?<\/h3><\/dt>\n<dd><p>No. By default only untranslated strings are translated. Your own edits are only replaced if you explicitly choose that option for a page.<\/p><\/dd>\n<dt id=\"can%20i%20undo%20a%20run%3F\"><h3>Can I undo a run?<\/h3><\/dt>\n<dd><p>Yes. In the TranslatePress editor, click Undo last run to restore the strings as they were before your last run or clear. Strings you edited by hand after that run are left as they are. One level of undo is kept for each user.<\/p><\/dd>\n<dt id=\"what%20does%20clear%20machine%20translations%20do%3F\"><h3>What does Clear machine translations do?<\/h3><\/dt>\n<dd><p>It removes the machine translations of the strings on the current page so you can translate them again. Strings you translated or edited yourself are kept, and you can undo the clear.<\/p><\/dd>\n<dt id=\"the%20translation%20is%20in%20the%20wrong%20script%20or%20chinese%20variant.%20what%20now%3F\"><h3>The translation is in the wrong script or Chinese variant. What now?<\/h3><\/dt>\n<dd><p>The plugin warns when a result looks like the wrong script (for example Latin instead of Cyrillic) or the wrong Chinese variant. Use Undo last run, choose another model or provider, and translate again. The warning never blocks saving.<\/p><\/dd>\n<dt id=\"where%20are%20my%20api%20keys%20stored%3F\"><h3>Where are my API keys stored?<\/h3><\/dt>\n<dd><p>Keys belong to the user who saved them. Other administrators cannot see or use them; each person adds their own. They are encrypted in the user profile data with libsodium, using your site secret keys and the user ID, and are never sent to the browser. Only a four character hint is shown.<\/p>\n\n<p>For stronger protection, define the key in wp-config.php instead (it then applies to every administrator on the site):<\/p>\n\n<pre><code>define( 'OCAT_GEMINI_KEY', '...' ); (also `OCAT_ANTHROPIC_KEY`, `OCAT_OPENAI_KEY`, `OCAT_GROQ_KEY`)\n<\/code><\/pre>\n\n<p>If you change your site secret keys (AUTH_KEY, AUTH_SALT), saved keys must be entered again.<\/p><\/dd>\n<dt id=\"what%20is%20sent%20to%20the%20ai%20provider%3F\"><h3>What is sent to the AI provider?<\/h3><\/dt>\n<dd><p>Only when an administrator clicks Translate page or Test connection: the untranslated text strings of the page, the language names, and the optional tone and glossary text. No visitor data is sent. See External services below.<\/p><\/dd>\n<dt id=\"does%20free%20basic%20work%20in%20every%20browser%3F\"><h3>Does Free basic work in every browser?<\/h3><\/dt>\n<dd><p>Free basic uses the translator built into Chrome and Edge on desktop. The browser may download a language pack the first time you use a language pair. Other browsers can use an AI provider instead.<\/p><\/dd>\n<dt id=\"can%20i%20test%20with%20a%20local%20model%20such%20as%20ollama%20or%20lm%20studio%3F\"><h3>Can I test with a local model such as Ollama or LM Studio?<\/h3><\/dt>\n<dd><p>Yes, on local test sites only. Add to wp-config.php:<\/p>\n\n<pre><code>define( 'OCAT_ALLOW_LOCAL_LLM', true );\ndefine( 'OCAT_LOCAL_LLM_URL', 'http:\/\/127.0.0.1:11434\/v1' ); (LM Studio: `http:\/\/127.0.0.1:1234\/v1`)\n<\/code><\/pre>\n\n<p>A \"Local AI\" tile then appears. If WordPress runs in Docker, use <code>http:\/\/host.docker.internal:11434\/v1<\/code> and start Ollama with <code>OLLAMA_HOST=0.0.0.0:11434<\/code>. Never enable this on a public site.<\/p><\/dd>\n<dt id=\"who%20can%20use%20it%3F\"><h3>Who can use it?<\/h3><\/dt>\n<dd><p>Users with the manage_options capability (administrators). Developers can change this with the <code>ocat_capability<\/code> filter.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20help%3F\"><h3>Where can I get help?<\/h3><\/dt>\n<dd><p>Post in the <a href=\"https:\/\/wordpress.org\/support\/plugin\/melotools-ai-translation-translatepress\/\">support forum<\/a> or use the <a href=\"https:\/\/melotools.com\/contact\">MeloTools contact page<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>New: \"Refresh preview\" link in the editor clears the page cache (LiteSpeed Cache) and reloads the editor, so saved translations show at once.<\/li>\n<li>Fix: some strings (often post titles, meta descriptions and paragraphs) could be saved untranslated when the AI returned the source text, and later runs then skipped them. Unchanged answers for real sentences are now retried, and never saved as a translation. To repair a page from an earlier version, tick \"Redo from scratch\" once.<\/li>\n<li>Fix: on sites with a page cache (for example LiteSpeed Cache) the editor preview could show the old text after a run. The plugin now purges LiteSpeed Cache after saving, undoing or clearing, and reloads the editor with a fresh copy.<\/li>\n<li>Fix: strings containing \"&amp;\" (common in meta titles) were skipped when the translation dropped the \"&amp;\", for example in Chinese.<\/li>\n<li>Fix: strings listed in the editor were missed when TranslatePress shows its string groups in another language (for example \"Lista de cadenas\"). Meta information strings are now included too.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release on WordPress.org, renamed from \"Automate AI Translation for TranslatePress\".<\/li>\n<li>New: Undo last run (one level per user). Strings edited after the run are never touched.<\/li>\n<li>New: Clear machine translations on a page, keeping your own edits. Undoable.<\/li>\n<li>New: Run size shown before large runs, and a warning for the wrong script or Chinese variant.<\/li>\n<li>Fix: translations from the editor were not saved since 0.6.4 (\"redoMode is not defined\").<\/li>\n<li>If a provider is briefly busy (HTTP 500 to 504), the request is retried once automatically, with a clearer message if it still fails.<\/li>\n<li>Gemini now defaults to gemini-flash-lite-latest, which follows Google's current Flash-Lite model and has a larger free allowance.<\/li>\n<li>Security: every request input is sanitised where it is read; database queries use prepared identifiers.<\/li>\n<li>Settings screen: support and contact links.<\/li>\n<li>Tested with WordPress 7.1.<\/li>\n<\/ul>\n\n<h4>0.6.4<\/h4>\n\n<ul>\n<li>New \"Redo from scratch\" option in the editor: replaces earlier machine translations for this page only. An extra, separately confirmed option also replaces your own edits.<\/li>\n<\/ul>\n\n<h4>0.6.3<\/h4>\n\n<ul>\n<li>Groq default model is now openai\/gpt-oss-20b (Llama models are not on every free account); Groq runs one batch at a time.<\/li>\n<\/ul>\n\n<h4>0.6.2<\/h4>\n\n<ul>\n<li>Settings: after Save, the page reloads so Test connection is always available; errors show the provider code.<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Clearer error: a 404 now shows the model ID that was tried.<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>New: Free basic translation with no API key, using the browser built-in translator (Chrome or Edge, desktop).<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Fix: translations rejected when the AI returned a plain apostrophe or space instead of an HTML code.<\/li>\n<li>Security: quotes encoded in saved text, URLs and emails must be unchanged, structure check fails closed.<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>API keys are now private to each user account.<\/li>\n<\/ul>","raw_excerpt":"Translate TranslatePress pages in one click with Claude, ChatGPT, Gemini or Groq, or start free with no API key.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/380838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=380838"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/melotools"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=380838"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=380838"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=380838"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=380838"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=380838"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=380838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}