AI Translator for OpenCart
Documentation

Add complete new languages to your store and translate catalog, theme and extensions with DeepL, Microsoft Azure, ChatGPT, Claude or Gemini, using your own API key. OpenCart 4 and OpenCart 3.

Demo login: user demo, password demo. Your API key stays only in your browser and session.

AI Translator: a store translated into Italian and Arabic

See it in 90 seconds

Watch on YouTube

Requirements

Installation

The download contains one package for each OpenCart version. Upload only the file for your version and do not unzip it.

OpenCart 4

  1. Admin > Extensions > Installer > Upload opencart-4.x/ai_translator.ocmod.zip.
  2. In the list below the upload button, click the green Install button next to AI Translator.
  3. Admin > Extensions > Extensions > Modules > AI Translator > Install (green +), then Edit (blue pencil).

OpenCart 3

  1. Admin > Extensions > Installer > Upload opencart-3.x/ai_translator.ocmod.zip.
  2. Admin > Extensions > Extensions > Modules > AI Translator > Install (green +), then Edit (blue pencil).

AI Translator is also in the menu Catalog > AI Translator. The Guided tour button walks you through every feature in two minutes.

Get an API key

You use your own key: texts go straight from your server to the provider, never through us. Choose the provider in Settings, paste the key and press Test connection.

DeepL FREE PLANRecommended. 1 million characters included.
Microsoft Azure FREE TIER2 million characters a month on the F0 tier.
OpenAI (ChatGPT)Marketing-style texts, your tone of voice.
Anthropic ClaudeMarketing-style texts, your tone of voice.
Google GeminiMarketing-style texts, your tone of voice.

DeepL (2 minutes)

  1. Open deepl.com/pro-api, open the API tab and choose the free Developer plan.
  2. Create the account.
  3. Open API Keys, copy the key and paste it in Settings > DeepL API key.

The Developer plan includes 1 million characters: enough for about 15 store interfaces (about 60,000 characters each), or one interface plus 400 - 600 complete products. Older "DeepL API Free" keys keep 500,000 characters per month. The counter at the top of the module shows your usage.

Microsoft Azure Translator

  1. In the Azure portal create a Translator resource and choose the free F0 pricing tier.
  2. Open Keys and Endpoint, copy Key 1 and the Location/Region (for example westeurope) into Settings.

OpenAI, Anthropic Claude, Google Gemini

With these providers you can write instructions (tone, formal or informal, audience) and choose the model.

Settings tab
Settings: provider, key, languages, automation and SEO.

Add a new language

  1. Open the Languages tab, choose the language (33 available, right-to-left included) and click Create and translate.
  2. AI Translator creates the language in OpenCart (flag, locale, date and number formats) and translates every interface text: buttons, cart, checkout, account, e-mails, your theme and all installed extensions. Tick "Also translate the admin panel" if you want the back office too.
  3. At 100% the language is enabled. Then translate your catalog from the Translate tab.

Complete texts fills the gaps of any language, also the ones you installed yourself: a new theme or extension with English texts only, or new texts after an OpenCart update. Files written by people or other vendors are never modified: only missing files are created.

Languages tab
Languages: create a language with one click, complete the texts of themes and extensions.

Translate the catalog

  1. In the Translate tab tick what to translate and the languages. Keep "Only what is missing or changed".
  2. Click Estimate cost to see the characters and the approximate price.
  3. Click Start translation and keep the page open until 100%. You can stop and restart at any time: you never pay twice for the same text.

Translated content: products (name, description, tags, meta title, meta description, meta keywords), categories, information pages, attributes and groups, product attribute values, options and values, filters and groups, blog topics and articles (OpenCart 4). HTML is preserved.

With Translate on save enabled, products, categories, information pages and articles are translated automatically every time you save them.

Translate tab
Translate: what, into which languages, and how.
Product page translated into Italian
The result: a product page translated into Italian.

Settings

SettingWhat it does
StatusOff: nothing is translated automatically and no hreflang tags are added. The Translate tab still works.
Provider, key, modelWhich service translates and with which account.
Formality (DeepL)Formal or informal form where the language has one.
Instructions (OpenAI, Claude, Gemini)Tone, audience, words to prefer.
Translate from / intoThe language your catalog is written in, and the default target languages.
Translate on saveTranslates items when you save them.
Translated SEO URLsCreates an SEO keyword in each language from the translated name.
hreflang tagsAdds alternate links for every language (OpenCart 4).
Batch sizeItems per request. Lower it if your server stops long requests.

Glossary

Terms that must never be translated (brand and model names: leave the language column empty) or that must always be translated in a given way. Matching ignores upper and lower case and finds whole words only.

Glossary tab
Glossary: keep brand names, force your own wording.

SEO and hreflang

Store in Arabic
Right-to-left languages: the store in Arabic.

Your content is safe

Deactivate or delete

Deactivate: Extensions > Extensions > Modules > AI Translator > Uninstall (red -). The automatic features stop; languages, translations and history stay, and installing the module again continues where you left off.

Delete removes everything the extension created:

Deleting removes the languages created by AI Translator with all their content, the automatic translations written into your other languages (each field goes back to a copy of the source text, as when a language is added; texts you edited by hand stay), the SEO keywords it generated, every language file it wrote, its tables, settings, events and permissions.

A language created by the module that you set as the default language of the store is kept, so the store keeps working. Back up your database before deleting if you may want the translations again.

Troubleshooting

Message or problemSolution
Invalid API keyCopy the key again, without spaces. DeepL free keys end with :fx.
Quota exceeded / 429Your provider plan limit was reached, or too many requests: wait or upgrade the plan.
Response was cut off / timeoutsSettings > Batch size: try 3 or 5.
SSL certificate problemUpdate to the latest version: a trusted certificate list is included for servers (often Windows hosting) whose PHP has none. The error message lists what was tried.
Folder is not writableGive the web server write permission on the folder shown in the message.
Nothing to translateThe texts are already translated or were edited by hand. Use "Refresh all automatic translations" or "Translate everything again".
SEO URLs not shown in the storeSystem > Settings > Server > Use SEO URLs = Yes, and rename .htaccess.txt to .htaccess (Apache).

Errors during "translate on save" never block saving: they are written to System > Maintenance > Error Logs.

Changelog

1.1.0

1.0.0

Guides

More OpenCart extensions on ringaedor.com.

Support

Buy it on the OpenCart Marketplace. 12 months of support and updates are included. Write to support_ai_translator@ringaedor.com with your OpenCart version, PHP version and the error message. Questions before buying are welcome too.

Try everything before buying in the live demo: OpenCart 4 or OpenCart 3, user demo, password demo.