1. Introduction
Managing language strings across Joomla sites used to be slow and error-prone: searching through .ini files, handling overrides by hand and re-checking every change in several languages. JSmartLang AI Translation Manager gives you one visual interface to search, view, edit and manage language variables from Joomla core, third-party extensions and custom extensions. You do not need to edit INI files manually or open files on the server.
The component also adds AI-powered translation. A complete language file can be translated into another language with one button click, and existing text can be rewritten with a custom AI prompt. Four providers are supported: OpenAI, Google Gemini, Anthropic Claude and DeepL. You use your own API key for the provider you choose.
Key features
- Central visual editor for language variables of Joomla core, third-party and custom extensions.
- Choose the extensions you work on in Extension Selectors, then edit them in the Translation Center.
- One-click AI translation of a complete language file (AI Auto Translate).
- AI prompt-based transformation of language text (Transform Text using AI Prompt), for example replacing a word throughout a file.
- DeepL support for complete-file translation.
- Optional saving of every change to the matching Joomla language override file.
- Override language variables (site and administrator) can be edited in the same screen.
- File locking, so two administrators do not overwrite each other while editing.
- Four AI providers: OpenAI, Gemini, Claude and DeepL, each used with your own API key.
- New: Article Auto Translate. Translate a saved article into one or several languages with the Translate & Save button (section 12).
- New: MCP server. AI clients can list and read articles, translate them and read the translation logs (section 13).
- New: Translation Logs. A log of every article translation, with the reason for each failure.
Provider capabilities
| Feature | OpenAI | Gemini | Claude | DeepL |
|---|---|---|---|---|
| Translate a complete language file (AI Auto Translate) | Yes | Yes | Yes | Yes |
| Transform text with a custom AI prompt | Yes | Yes | Yes | No |
| Translate a Joomla article (Article Auto Translate) | Yes | Yes | Yes | Yes |
With DeepL you can only translate complete files. Prompt-based transformation needs OpenAI, Gemini or Claude.
New in 2.3.6: Article Auto Translate (section 12) also works with DeepL.
2. Requirements
- A Joomla site (Joomla 3, 4, 5 or 6 as listed for the component). Use the package file that matches your Joomla version; the file used in this guide is named pkg_jsmartlang_1.0.0.zip (Joomla 6).
- Administrator (back end) access with a Super User account, or a user group that has permission to manage the component.
- PHP with the cURL extension enabled. The component calls the AI providers through cURL.
- Outbound HTTPS access from the server to the provider APIs (api.openai.com, generativelanguage.googleapis.com, api.anthropic.com, api.deepl.com or api-free.deepl.com).
- Write permission on the language folders (language/, language/overrides/, administrator/language/) so that saved translations can be written to the files.
- An API key from at least one AI provider. Keys are created on the provider website (see section 4.4).
- For Article Auto Translate: the plugin System - JSmartLang Translate, installed by the package and enabled (section 3.2); at least two published content languages (section 12.2); a Super User account.
- For the MCP server: a token of at least 32 characters, a Super User account chosen as the MCP user, and a site address that the AI client can reach. Cloud-based clients (Claude connectors, ChatGPT, Cursor cloud agents) connect from the internet, so the site must be reachable over public HTTPS (section 13.5).
3. Installation
Follow these steps to install the component and the plugin on your Joomla site. Do not extract the zip file yourself; Joomla installs the package directly.
Step 1. Download the package file, for example pkg_jsmartlang_1.0.0.zip, to your computer. It contains the component and the plugin.
Step 2. Log in to the administrator area of your site, for example https://your-site.com/administrator.
Step 3. In the left menu, go to System > Install > Extensions.
Step 4. Open the Upload Package File tab. Click Choose File, select the zip file and wait until the file name is shown.
Step 5. Click Upload & Install. Wait for the success message, for example "Installing component was successful".
Step 6. Check the installation: open the Components menu. You should see JSmartLang AI Translation Manager with two sub-items: Translation Centers and Extension Selectors. New in 2.3.6: a third sub-item, Translation Logs, is also listed.
Note: During installation the component adds one column (extension_status) to the Joomla extensions table. This is used by Extension Selectors. No manual SQL is needed.
Updates: The component is linked to the vendor update server, so later versions can be installed from Joomla update. Make a site backup before any update.
3.1 Install the languages you want to translate into
A target language must be installed in Joomla before it appears in the Translation Center, and it must be a published content language before articles can be translated into it.
Step 1. Go to System > Manage > Languages and check that the language is listed. To install a new one, go to System > Install > Languages.
Step 2. Use the Install from Web tab (or Upload Package File) to install the language pack, for example German (de-DE).
Step 3. Check that the language is listed under System > Manage > Languages and is published.
3.2 Enable the System - JSmartLang Translate plugin
The package installs the plugin System - JSmartLang Translate. Article Auto Translate does not work until this plugin is enabled. Check it after the installation:
Step 1. Go to System > Manage > Extensions.
Step 2. In the search box, type JSmartLang. The list shows JSmartLang AI Translation Manager (component), JSmartLang Translate (plugin, folder system) and JSmartLang Translation Package.
Step 3. If the Status of the plugin is not a green check mark, click the status icon to enable it. Joomla confirms with the message "Extension enabled."

Figure : Extensions: Manage after the JSmartLang Translate plugin was enabled. The status column shows the enabled extensions.
Tip: The plugin has no settings of its own. Once it is enabled, the Translate & Save button appears on saved articles that have a specific language (section 12.2).
4. Configuration and API keys
Before any AI feature works, you must choose one AI provider and enter its API key. Manual editing works without a key.
4.1 Open the configuration page
Step 1. Go to Components > JSmartLang AI Translation Manager > Translation Centers.
Step 2. Click Configuration in the toolbar (see Figure 3 in section 6).
You can also open it from System > Global Configuration: under Components, click JSmartLang AI Translation Manager. Figure 1 shows this page with the provider list open.

Figure 1: JSmartLang AI Translation Manager configuration, with the AI Provider list open.
4.2 Configuration fields
| Field | What it does |
|---|---|
| AI Provider | Choose OpenAI, Gemini, Claude or DeepL. The chosen provider is used for all AI actions. |
| OpenAI / Gemini / Claude / DeepL API Key | Your secret key for that provider. Only the field of the selected provider is shown. |
| OpenAI Model / Gemini Model / Claude Model | The model used for AI requests. Shown only for the matching provider. DeepL has no model setting. |
| Show Override Language Variables | Yes: Site and Administrator override files are listed in the Translation Center so you can edit or translate them. No: they are hidden. |
| AI limits and timeouts (tab) | Timeout, text chunk size and retries for AI requests (section 4.5). |
| MCP server for AI clients (tab) | MCP URL, switches, token and MCP user (section 13.2). |
| Permissions (tab) | Controls which user groups can use and configure the component. |
4.3 Set up your provider step by step
Step 1. In AI Provider, choose the provider you want to use (OpenAI, Gemini, Claude or DeepL).
Step 2. Paste your API key into the key field that appears below it. Copy the whole key with no extra spaces.
Step 3. For OpenAI, Gemini or Claude, choose a model from the model list. The default is preselected. Appendix A lists the models.
Step 4. Keep Show Override Language Variables at Yes if you want to edit override files (see section 8).
Step 5. Click Save & Close. Open the Translation Center: the AI buttons should now be enabled.
4.4 How to get an API key
| Provider | Where to create the key |
|---|---|
| OpenAI | Sign in at platform.openai.com, open the API keys page and click Create new secret key. |
| Google Gemini | Sign in at Google AI Studio (aistudio.google.com) and create a key with Get API key. |
| Anthropic Claude | Sign in at the Anthropic Console (console.anthropic.com), open Settings > API Keys and create a key. |
| DeepL | Sign in to your DeepL account and copy the key from the API section. Free keys end with :fx; the component detects them automatically. |
Security: Keys are stored in the component settings in your Joomla database. Give Configuration access only to trusted administrators and do not share screenshots that show a key.
Billing: AI requests are billed by the provider to your account. Check your provider usage limits before translating large batches.
4.5 AI limits and timeouts
Open the tab AI limits and timeouts on the configuration page. These values apply to AI Auto Translate, Article Auto Translate and the MCP server.
| Field | What it does |
|---|---|
| AI timeout (seconds) | How long to wait for the AI provider before the request is stopped. Default 120; allowed 10 to 600. |
| AI chunk size (characters) | Long texts are split into parts of about this size, and each part is sent as its own request. Lower it if the provider rejects the text as too large. Default 6000; allowed 1000 to 30000. |
| AI retries | How many times a request is retried after a timeout or a busy provider (HTTP 429 or 5xx). Default 1; allowed 0 to 5. |
Note: In Article Auto Translate the browser waits up to 10 minutes for one language. The server stops a request at the AI timeout first, so you normally see the server's message.
5. Extension Selectors: choose what to translate
Extension Selectors decides which extensions appear in the Translation Center. Only selected extensions are shown there.

Figure 2: Extension Selectors with the filters, the selection checkboxes and the Save Selected, Translation Center and Configuration buttons.
5.1 Filters
| Filter | Purpose |
|---|---|
| Select Status | Published (default) or Unpublished extensions. |
| Select Type | Component, File, Language, Library, Module, Package, Plugin or Template. |
| Select Extensions | Core Extensions or Third Party Extensions. |
| Selected Record | Sort By Selected shows only the extensions you have already selected and shows how many there are. |
| Search and Show entries | Search the list and choose how many rows are displayed per page. |
| Clear | Resets all filters. |
5.2 Select extensions
Step 1. Go to Components > JSmartLang AI Translation Manager > Extension Selectors.
Step 2. Use the filters or the search box to find the extension, for example choose Select Type = Component and search for "wrapper".
Step 3. Tick the checkbox at the start of each row you want to translate. The top checkbox selects all rows currently shown.
Step 4. Click Save Selected. The message "Extensions updated successfully!" confirms the selection.
Step 5. Click Translation Center to open the editor for the selected extensions.
Tip: Start with one or two small extensions, such as com_wrapper, to learn the workflow. Every selected extension adds a chip and its language files to the Translation Center.
6. Translation Center: the editing workspace
The Translation Center is where you view, edit and translate language files. Figure 3 shows the workspace with the extension com_wrapper selected.

Figure 3: Translation Center showing selected extensions, installed languages and the com_wrapper.ini file.
6.1 Layout
- Toolbar: Save Content saves your changes. Close leaves the page and releases your file locks. Extension Selectors returns you to the selection list. Configuration opens the settings.
- Selected Extensions: one chip per selected extension (for example com_wrapper, com_tags, SP Page Builder) and the two override groups when they are enabled. The active chip is blue. A lock icon marks a chip that another administrator has checked out.
- Save to language override: a switch at the top right of the Selected Extensions bar. See section 8.
- Installed Languages: All, or one language chip with its flag, for example de-DE or en-GB.
- File search: type text and press Enter to find it inside the current file. Previous and Next move between the matches.
- File panel: the file name (for example com_wrapper.ini), the editable text area, an expand icon for a larger editor, and the two AI buttons below the text area.
No extensions? If nothing is selected, the Translation Center shows "No Extensions Selected" with a link to Extension Selectors.
AI not configured? If no provider or key is set, the AI buttons are disabled and a notice links you to the configuration page.
6.2 Edit a language string manually
Step 1. Click the extension chip, for example com_wrapper.
Step 2. Click the language chip, for example en-GB. Choose All to show every language.
Step 3. Use the File search box to find a key, for example COM_WRAPPER_NO_IFRAMES, and press Enter.
Step 4. Edit only the text after the equals sign. Keep the key on the left unchanged and keep the double quotes around the value. A line looks like this:
COM_WRAPPER_NO_IFRAMES="This option will not work correctly. Unfortunately, your browser does not support inline frames."
Step 5. Click Save Content.
Step 6. Read the message at the top of the page. It lists the files that were updated and their language.
6.3 File locks: avoid overwriting each other
When you open a file for editing, the component checks it out to your user account. Other administrators see a lock icon, a notice such as "Checked out by [name] on [date]", and a read-only text area. The lock is released when you click Save Content, when you click Close, or when you leave the editor page.
6.4 Save changes
Save Content saves all changed files that you have checked out. Only files checked out by your own account are written. If nothing has changed, the message "No language files have been changed" is shown.
7. Translating with AI
7.1 Before you start
- Configure one AI provider and its API key (section 4).
- Install the target language in Joomla (section 3.1).
- Select the extension in Extension Selectors (section 5).
- Open the Translation Center and check that the AI buttons under the file are enabled.
7.2 AI Auto Translate: translate a complete language file
Use AI Auto Translate to translate a whole file into another installed language in one step.
Step 1. Open Translation Centers and click the extension chip, for example com_wrapper.
Step 2. Click the source language chip en-GB so that the English file is shown.
Step 3. Below the text area, click AI Auto Translate. The AI Translation dialog opens with the file text under Selected Content.
Step 4. Under Translate into, choose the target language, for example German (DE).
Step 5. Click Translate and wait. A spinner shows while the provider works.
Step 6. Read the result under Translated Content. Edit it in the dialog if needed.
Step 7. Click Confirm. The translation is placed into the editor of the target language, and that language file is opened.
Step 8. Review the translated text, then click Save Content.

Figure 4: AI Translation dialog. The source file is shown under Selected Content and the target language is chosen under Translate into.
What is sent: The file text is sent to the AI provider you configured. With DeepL only the values are sent; keys, comments and blank lines stay as they are. For AI providers the instructions ask the model to keep the keys unchanged.
Review: AI output can be wrong. Check placeholders such as %s, numbers, HTML tags and quotation marks before you save.
7.3 Transform Text using AI Prompt: change text with an instruction
Use this to rewrite existing text, for example to replace a term everywhere in a file or to change the wording style.
Step 1. Open the file you want to change, for example the en-GB or de-DE file of com_wrapper.
Step 2. Click Transform Text using AI Prompt below the text area. The Smart OpenAI Processing dialog opens with the file under Original Text.
Step 3. In the Prompt box, describe the change. Examples are shown in the dialog:
- "Replace the word cart with basket throughout the translation."
- "Change Add to cart to Add to basket."
Step 4. Click Run Prompt. The result appears under Output.
Step 5. Check the output. Click Confirm to put it into the editor, then click Save Content in the Translation Center.

Figure 5: Smart OpenAI Processing dialog, with the original text and a prompt box for the change you want.
Built-in rule: The AI is instructed not to change language constants, meaning names written in capital letters with underscores (for example COM_WRAPPER_NO_IFRAMES).
Provider: Prompt transformation works with OpenAI, Gemini and Claude. Select one of these providers before using it. It does not work with DeepL.
7.4 Provider-by-provider setup
The setup is the same for every provider: choose the provider, paste its key, choose the model (not for DeepL), click Save & Close. Switching providers later only needs a change of the AI Provider field and another Save & Close; the other keys can stay in place.
OpenAI
Step 1. Set AI Provider to OpenAI.
Step 2. Paste the key into OpenAI API Key.
Step 3. Choose OpenAI Model. The default is GPT 5.6 Terra (balanced cost).
Step 4. Click Save & Close. Both AI Auto Translate and Transform Text using AI Prompt are available.
Google Gemini
Step 1. Set AI Provider to Gemini. Figure 1 shows this selection.
Step 2. Paste the key into Gemini API Key.
Step 3. Choose Gemini Model. The default is Gemini 3.5 Flash.
Step 4. Click Save & Close. Both AI features are available.
Anthropic Claude
Step 1. Set AI Provider to Claude.
Step 2. Paste the key into Claude API Key.
Step 3. Choose Claude Model. The default is Claude Sonnet 5 (balanced).
Step 4. Click Save & Close. Both AI features are available.
DeepL
Step 1. Set AI Provider to DeepL.
Step 2. Paste the key into DeepL API Key. DeepL has no model setting.
Step 3. Click Save & Close, open the Translation Center and use AI Auto Translate for complete files.
DeepL behaviour: Only values are sent to DeepL, in batches of up to 50 texts. Keys, comments and blank lines are kept. Quoted values stay quoted. Free keys (ending with :fx) use the free DeepL endpoint automatically.
New in 2.3.6: For articles, the text is sent to DeepL with its HTML tags kept; the tags are not translated.
8. Language override files
8.1 What override files are
Joomla loads language override files after the extension language files, so a string in an override file replaces the extension text. Joomla uses separate files per language: language/overrides/en-GB.override.ini for the site and administrator/language/overrides/en-GB.override.ini for the administrator. Overrides survive extension updates, because the extension file is replaced but the override file is not.
8.2 Save to language override
- On (recommended): each change is saved to the extension language file and also to the matching override file.
- Off: changes are saved only to the extension language file, which can be replaced when the extension is updated.
The switch is set per extension in the Selected Extensions bar. The help icon next to it explains why it should normally stay on. When you save with the switch on, the message looks like this:
com_wrapper language file com_wrapper.ini for English language, and the same changes were also saved in the override file en-GB.override.ini.
| Language file type | Where the override is written |
|---|---|
| Site extension language file | language/overrides/{language-tag}.override.ini |
| Administrator extension language file | administrator/language/overrides/{language-tag}.override.ini |
8.3 Edit override files directly
Step 1. Go to Configuration and set Show Override Language Variables to Yes. Click Save & Close.
Step 2. Open the Translation Centers. The chips Override Language Variables - Site and Override Language Variables - Administrator now appear.
Step 3. Select a chip and a language, edit or translate the strings exactly as in sections 6 and 7.
Step 4. Click Save Content.
Caution: When an override file is rewritten, the component keeps the key and value pairs but comments inside the existing override file are not preserved. Keep a backup of important override files.
9. Complete example: translate com_wrapper into German
Step 1. Install the component (section 3) and install the German language pack (section 3.1).
Step 2. Open Configuration, choose your AI provider, paste the key, choose the model and click Save & Close (section 4).
Step 3. Open Extension Selectors, tick com_wrapper (Type: Component), click Save Selected.
Step 4. Click Translation Center. Click the com_wrapper chip and then the en-GB language chip.
Step 5. Click AI Auto Translate. In Translate into, choose German (DE). Click Translate.
Step 6. Check the Translated Content and click Confirm.
Step 7. Click Save Content. Read the message that confirms the saved files, including the override file when the switch is on.
Step 8. Click the de-DE language chip to review the saved German file.
Step 9. Click Close in the toolbar to release your locks. Optionally, open the front end of the site in German and check the text.
10. Permissions and access
Open Components > JSmartLang AI Translation Manager > Options (or the configuration page) and select the Permissions tab. You can allow or deny actions for each user group. Because API keys are stored in the configuration, give the Configuration permission only to trusted Super Users or administrators. Users who only translate can be given access to the Translation Center without access to the configuration.
Article Auto Translate and the MCP server are for Super Users. The Translate & Save button and its server request check that the user is a Super User. The MCP user must be a Super User as well. The user also needs the normal Joomla permissions to create articles in the category and to edit the original article.
11. Troubleshooting
| Message or problem | Likely cause | What to do |
|---|---|---|
| Missing OpenAI API Key (or Gemini, Claude, DeepL) | The selected provider has no key. | Open Configuration, paste the key for the selected provider and click Save & Close. |
| AI buttons are disabled; notice "To access AI functionalities..." | No provider or key is configured. | Complete section 4. |
| Prompt transform fails while DeepL is selected | Prompt transformation is not supported for DeepL. | Select OpenAI, Gemini or Claude for prompt transformation. |
| Invalid Token. Please refresh and try again. | The page session or form token has expired. | Reload the Translation Center and repeat the action. |
| Checked out by [name] on [date] | Another administrator has the file open. | Wait for them to save or close, or ask them to click Close. |
| No Extensions Selected | Nothing is selected in Extension Selectors. | Select extensions and click Save Selected. |
| No language files have been changed | No text was changed before saving. | Confirm that your edit was made in the correct language panel. |
| cURL error: ... | The server cannot reach the provider. | Check outbound HTTPS, firewall or proxy settings and that the cURL extension is enabled. |
| Provider error message (invalid key, quota, model) | The provider rejected the request. | Read the message shown in the dialog. Check the key, the provider billing or quota, and the selected model. |
| Files are not updated after Save Content | The language folder is not writable. | Give the web server user write permission on language/, language/overrides/ and administrator/language/. |
| Changes not visible on the site | Cache or the wrong language is shown. | Clear the Joomla cache (System > Clear Cache) and check the site language. Remember that override files win over extension files. |
For problems with Article Auto Translate, see section 12.9. For problems with the MCP server, see section 13.10.
12. Article Auto Translate (Translate & Save)
12.1 What it does
Article Auto Translate translates a Joomla article that is already written in one language into one or more other languages. Use it when an article was created in any language and you need the same article in other languages.
The translation uses the AI provider and the settings already set in the component (section 4): the same provider, API key, model and AI limits as for the language files.
For each target language a new article is created in the same category. The new article is a copy of the original with the translated text, and it is linked to the original as a translation (Joomla associations). The original article's text is not changed by the translation. Note that Joomla saves the open article before the translation starts (step 8 in section 12.3).
12.2 Before you start
Check the following before you use the button. The button appears only when all of them are met.
- The plugin System - JSmartLang Translate is installed and enabled (section 3.2).
- The component has one AI provider and its API key (section 4). Test the provider once with a short language file if you are not sure that the key works.
- The target languages are installed and published (section 3.1). Open the Languages: Content list (Figure 7) and check that each target language is listed as published, with its URL language code (for example de for de-DE).

Figure 7: Languages: Content list with the installed content languages, their language tags and URL codes.
- The article is saved and has a specific language, such as English (en-GB). An article set to All has no source language and cannot be translated (see section 12.3, step 2).
- You are logged in as a Super User.
12.3 Step by step: translate an article
Step 1. Open the article: go to Content > Articles and click the article title to open it in the editor.
Step 2. Check the article language. On the Content tab, the Language field on the right must show a specific language, for example English (en-GB) (Figure 8). If it shows All, choose the language the article is written in, and save the article.

Figure 8: The Language field of the article set to English (en-GB).
Step 3. Click Save once. The button checks the language stored in the database, so save the language change first. A new article that has not been saved does not show the button.
Step 4. Look at the toolbar. The Translate & Save button is between Save and Save & Close (Figure 9). Only Super Users see it.

Figure 9: The Translate & Save button in the article toolbar, between Save and Save & Close.
Step 5. Click Translate & Save. The dialog Translate & Save article opens (Figure 10).

Figure 10: The Translate & Save article dialog with French (fr-FR) and German (de-DE) selected under Save the translation in.
Step 6. Choose the languages under Save the translation in. Click the field and pick one or more languages from the list. The language of the article itself is not in the list. Each chosen language appears as a chip; click the x on a chip to remove it.
Tip: Choose one language to open the new article straight away. With several languages, the articles are created one after another, and a result list appears at the end.
Step 7. Read the note in the dialog. It says that the title, text and meta description are translated into a new article in the chosen language, that the new article keeps the settings, images and fields of this article, and that this article is not changed.
Step 8. Click Translate & Save. Joomla first saves the open article, as with Save. The page then reloads, the dialog opens again with the same languages selected, and the translation starts. The status line shows, for example, "Translating into German (1 of 2)...". To stop, click Stop (the Cancel button during a run): the run stops after the language that is in progress.
Step 9. Wait for the result. A run takes from a few seconds to several minutes, depending on the article length, the provider and the model. Keep the browser tab open until the result appears.
- One language: the new article opens in the edit form automatically.
- Several languages: the dialog closes and a Joomla system message shows, for example "2 translation(s) saved: ...". The new articles are listed in the Articles list.
- A language fails: the dialog stays open. It lists the new articles that were created as links, and each failed language with the reason. Run the failed languages again later; the languages that worked are not created twice (section 12.4).
Step 10. Review the new article. Open it from the message or from the Articles list. Check the title and alias, the article text (the Read More split is kept), the Images and Links tab (image alt texts and captions, link texts), the Options tab (Read More text and Browser Page Title) and any text custom fields. Meta description and meta keywords are not translated; write them by hand. Click Save & Close.
Step 11. Check the result in the Articles list (Figure 11). The new article shows its own language, for example German (Germany). In the Association column, the language badges show the linked articles.

Figure 11: Articles list with the translated articles. The Language column shows the language of each article, and the Association column shows the linked translations.
Step 12. Check the status and the front end. The new article has the same status (published or unpublished), access level, featured setting and publish dates as the original. Open it on the front end in its language to check the result.
12.4 Translate again: update an existing translation
If the chosen language already has a translation of this article (an article linked to the original in that language), the run does not create a second article. It updates only the text of the existing translation: title, article text, image alt texts and captions, link texts, Read More text, Browser Page Title and text custom fields.
Images, URLs, options, metadata, alias, status, access, tags and the other fields of the existing translation are not changed. Use this when the original article changes and the translation has to follow.
Note: The alias of the existing translation is kept, so its web address does not change.
12.5 What is translated and what is copied
| Item | Translated? | Notes |
|---|---|---|
| Title | Yes | A new alias is made from the translated title. If the alias is already used in the category, the language code is added (for example my-title-de-de). |
| Article text (intro and full text) | Yes | Split at the Read More line, as in the editor. |
| Image alt texts and captions | Yes | Image paths are copied unchanged. |
| Link texts (URL A, B and C) | Yes | Link targets are copied unchanged. |
| Read More text and Browser Page Title | Yes | Options tab. |
| Text custom fields (text, textarea and editor types) | Yes | Other custom fields are copied unchanged. |
| Meta description and meta keywords | No | Copied from the original. Translate them by hand. |
| Category, status, access, featured and publish dates | Copied | Same as the original article (new articles only). |
| Tags | Copied | Same tags as the original (new articles only). |
| Author | Set for new articles | The Super User who runs the translation is the author of a new article. Existing translations keep their author. |
| Language | Set | The target language. |
| Association | Created | The original and the translation are linked. A new language is added to an existing group. |
12.6 Limits and timing
- The text of one article (all translated fields together) can be up to 60,000 characters. A longer article gives the error "The article text is too long to translate in one step."
- Long texts are split into parts of the AI chunk size (section 4.5). The AI timeout and the retries apply to each part.
- One run translates the languages one after another. A language that fails does not stop the others.
- The time for a run depends on the provider. Keep the browser tab open until the result appears.
- AI requests are billed by the provider (section 4.4).
12.7 Who can use the button
- Only Super Users see the button and can run the translation. The server checks this as well.
- The user must also be allowed to create articles in the category and to edit the original article. Otherwise an authorisation error appears.
12.8 Translation Logs
Every run is written to a log, both successful and failed runs. Open Components > JSmartLang AI Translation Manager > Translation Logs.
The log records the user, the original article, the target article, the source and target language, the provider and model, the action (created, updated or failed), the status, the fields sent, the duration and a message. Failed rows also keep the error trace and, when the AI answered, the AI reply, which helps to find the cause. The MCP tool list_translation_logs reads the same rows (section 13.4).
12.9 Troubleshooting Article Auto Translate
| Message or problem | Likely cause | What to do |
|---|---|---|
| The Translate & Save button is not visible | The plugin is disabled, the user is not a Super User, the article is new or not saved, or its language is All. | Check the list in section 12.2 in order. Enable the plugin, save the article and set its language. |
| "Save the article before you translate it." | The article has no ID yet. | Save the article, then translate it. |
| "Set a specific language on the article before you translate it." | The article language is All (*). | Choose the article language and save. |
| "Choose a language different from the article language." | The target language is the article language. | Remove that language from the list. |
| "Choose a valid target language." | The language is not an installed, published content language. | Install and publish the language (section 3.1). |
| "Add a second content language to translate into." | Only one content language exists. | Install and publish the other content languages. |
| "The article text is too long to translate in one step." | The article has more than 60,000 characters. | Shorten the article or split it into parts. |
| "Translation failed." or a provider message | The provider rejected the request (key, quota, model). | Read the message in the dialog. Check the key, billing and the model (section 4.3). |
| "The AI provider did not answer in time." | The provider was too slow, or the timeout is too short. | Check the Translation Logs. Increase the AI timeout (section 4.5) or try fewer languages. |
| "The server did not return a valid answer." | The server sent an error page, for example a PHP error or a time limit. | Check the Translation Logs and the Joomla error log. Retry after the server issue is fixed. |
| "Invalid Token. Please refresh and try again." | The page session has expired. | Reload the article and repeat the action. |
| The translation keeps some text in the original language | The AI kept some words, or the text is in a field that is not translated. | Review the new article and correct it by hand (section 12.5 lists what is translated). |
13. MCP server for AI clients
13.1 What the MCP server is
The Model Context Protocol (MCP) lets an AI client call tools on another system. The JSmartLang MCP server offers five tools. They use the same services as the Translate & Save button and the Translation Logs. An AI client such as Claude, ChatGPT or Cursor sends a request to your site, the site runs the tool and returns the result.
Every tool runs as the Super User you choose as the MCP user, so the same permissions apply as in the back end. Translations made through the MCP server are created and logged in the same way as with the button.
13.2 Turn on the MCP server and set the options
Open System > Global Configuration > Components > JSmartLang AI Translation Manager, then the tab MCP server (for AI clients) (Figure 12). You can also open it from the Configuration button of the Translation Centers.
Step 1. Copy the MCP Server URL. The field is read-only and shows the address of your site, for example https://your-site.com/index.php?option=com_lang_bridge&task=mcp.handle. Click the field to select all, then copy it. AI clients must send POST requests to this address.
Step 2. Set Enable MCP server to Yes. The server is off by default.
Step 3. Set Write MCP log file to Yes (the default) while you set up. Every request is written to administrator/logs/langbridge_mcp.log with secrets masked. Set it to No when it is no longer needed.
Step 4. Create the MCP token. It is the secret key that the AI client sends with every request. Use at least 32 random characters. In Windows PowerShell you can generate one with the command below. Copy the result, paste it into MCP token, and use the eye icon to check it.
-join ((48..57 + 65..90 + 97..122) | Get-Random -Count 48 | ForEach-Object { [char]$_ })
Step 5. Set MCP user to a Super User account, for example your own Super User or a dedicated admin account. A user who is not a Super User is refused.
Step 6. Click Save & Close. The new settings apply to the next request.

Figure 12: The MCP server (for AI clients) tab with the MCP Server URL, Enable MCP server, Write MCP log file, MCP token and MCP user.
Security: The token gives access to the translation tools as the MCP user. Treat it like a password. Do not show it in screenshots, shared documents or public repositories. To replace the token, enter a new one here and update the connector in each AI client. The old token stops working at once.
13.3 Test the connection (optional)
You can check that the server answers before you connect an AI client. Run the two PowerShell commands below with your own URL and token. A correct answer lists the five tools.
$headers = @{ Authorization = "Bearer YOUR_TOKEN" }
Invoke-RestMethod -Uri "https://your-site.com/index.php?option=com_lang_bridge&task=mcp.handle" -Method Post -Headers $headers -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
If you open the address in a normal browser, the page shows "Use POST.". This is expected, because a browser sends GET requests.
13.4 Tools the AI client can use
| Tool | What it does | Arguments |
|---|---|---|
| list_languages | Lists the installed content languages with their codes, for example de-DE. | None |
| list_articles | Finds articles, newest first. | language (for example en-GB), search (a word in the title), limit (1 to 100, default 20) |
| get_article | Returns one article (title, intro text, full text, language) and its linked translations. | id (required) |
| translate_article | Translates a saved article into one or more languages, like the Translate & Save button. Each language is reported on its own. Up to 20 languages per call. | id and target_languages (a list of codes, for example ["de-DE", "nl-NL"]), both required |
| list_translation_logs | Shows the latest log rows, newest first. | article_id, status (success or error), limit (1 to 100, default 20) |
The server also answers the standard MCP requests initialize, ping and tools/list, which AI clients use to connect. It speaks MCP protocol version 2025-06-18.
Note: translate_article creates or updates articles on your site. When an AI client receives an unclear request, ask it to list the article first and confirm the languages before it translates.
13.5 Connect Claude (Claude Desktop and claude.ai)
Claude adds a custom connector with a server address and optional request headers. Claude sends the connector's requests from Anthropic's servers, so the MCP Server URL must be a public HTTPS address without a port number. Addresses on localhost or a private network do not work with this method. Figures 13 and 14 show the connector dialog. Menu names can change in new Claude versions; the steps follow the current dialog.
Claude Desktop
Step 1. Open Claude Desktop, open Settings from your account menu, and open Connectors.
Step 2. Click Add custom connector.
Step 3. Enter a name, for example JSmartLang MCP. This name is shown in the connector list. Paste the MCP Server URL into the address field and click Continue.

Figure 13: Add custom connector, step 1: the connector name and the server address.
Step 4. Under Authentication, choose No sign-in. The JSmartLang server does not use OAuth. The token is sent as a request header instead.
Step 5. Under Request headers, keep the first field set to authorization. In the value box, type the word Bearer, one space, and the MCP token, for example Bearer followed by your token. Keep Required ticked.

Figure 14: Add custom connector, step 2: No sign-in, and the authorization header with the Bearer token.
Note: Enter the value exactly as Bearer, one space, then the token. Do not add quotation marks, line breaks or extra spaces.
Step 6. Click Add. The connector appears in the list. If it shows an error, read the table in section 13.10.
Step 7. Turn on the connector for a chat (in the tools or connectors menu of the chat input), start a new chat and try: "Use the JSmartLang tools to list the content languages of my site."
claude.ai (web app)
Step 1. Sign in at claude.ai, open your account menu and choose Settings, then Connectors.
Step 2. Follow steps 2 to 7 above. The connector belongs to your account, so the same connector can be used in the web app and in Claude Desktop.
Custom connectors depend on your Claude plan. At the time of writing, remote connectors were available on the Free, Pro, Max, Team and Enterprise plans, and the Free plan allows one custom connector. On Team and Enterprise plans an Owner adds the connector for the organization, and members then connect with their own account.
Security: Anthropic does not verify custom connectors. Connect only servers that you trust.
13.6 Connect ChatGPT (web and desktop app)
ChatGPT uses custom MCP servers when developer mode is on. The steps follow OpenAI's current help; menu names can change. Developer mode and full MCP support depend on your ChatGPT plan and, for business accounts, on the workspace settings.
Step 1. Open ChatGPT in the browser (chatgpt.com) or in the desktop app. Go to Settings > Apps > Advanced settings and turn on Developer mode. In Business, Enterprise or Edu workspaces, an admin or owner may need to turn it on first.
Step 2. Go back to Settings > Apps and click Create. Some versions call it Add custom connector or Add MCP server.
Step 3. Enter a name, for example JSmartLang MCP, a short description, and the server URL. If the form has a field for request headers, use the MCP Server URL and add the header Authorization: Bearer YOUR_TOKEN. If there is no headers field, add the token to the end of the MCP Server URL, like this:
https://your-site.com/index.php?option=com_lang_bridge&task=mcp.handle&token=YOUR_TOKEN
Step 4. Set Authentication to No authentication, confirm if asked, and click Create.
Step 5. To use it, start a new chat, open the + menu, choose More (or Developer Mode) and turn on your connector. Then make your request in plain words. Read each tool request before you approve it.
Important: A token in the URL is less secure than a header. It can be stored in the browser history and in the server's access logs (the JSmartLang MCP log masks it). Use a dedicated token that you replace when the connector is no longer used, and remove the connector when you stop using it.
13.7 Connect Cursor (desktop app and web app)
Cursor desktop
Cursor reads MCP servers from a JSON file. Use the global file for all your projects (in your user folder: .cursor\mcp.json) or a file inside one project (.cursor\mcp.json in the project folder). If both files define the server, the project file takes precedence.
Step 1. Open Cursor, press Ctrl+Shift+J to open Settings, and choose Tools & MCP. Click the button to add a new MCP server. It opens the mcp.json file.
Step 2. Add the entry below. Replace the URL and the token. Save the file.
{
"mcpServers": {
"jsmartlang": {
"url": "https://your-site.com/index.php?option=com_lang_bridge&task=mcp.handle",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}
Tip: To keep the token out of the file, store it in a Windows environment variable (for example JSMARTLANG_MCP_TOKEN) and write "Authorization": "Bearer ${env:JSMARTLANG_MCP_TOKEN}" in the file. Start Cursor after you set the variable.
Step 3. Restart Cursor, because it loads MCP servers at start-up. Open Tools & MCP again: the jsmartlang entry should show a green status and five tools. If it shows an error, check the token (no line break or space at its end) and the MCP log file.
Step 4. In the chat, use Agent mode and make a request, for example: "List the articles in en-GB that contain the word cache."
Cursor web app (Cloud Agents)
Cursor's web app runs Cloud Agents at cursor.com/agents. To add JSmartLang there, open cursor.com/agents, open the MCP menu and add a server with a name and the MCP Server URL (HTTP transport). If the form asks for headers, add Authorization: Bearer YOUR_TOKEN. If it has no headers field, add the token to the URL as in section 13.6. A team admin can also add the server for all team members at cursor.com/dashboard/integrations.
Known issues: Cursor users have reported that a saved server sometimes does not stay in the list, or that an agent shows no MCP tools. If this happens, add the server again and test it with list_languages. Cloud Agents connect from the internet, so the site must be reachable over public HTTPS.
13.8 Connect Claude Code (optional, command line)
If you use Claude Code in a terminal, add the server with one command. Replace the URL and the token.
claude mcp add --transport http jsmartlang "https://your-site.com/index.php?option=com_lang_bridge&task=mcp.handle" --header "Authorization: Bearer YOUR_TOKEN"
Check the connection with claude mcp list.
13.9 Example requests for the AI client
- "List the installed content languages of the site."
- "Show the 10 newest articles in en-GB."
- "Get article 12 and show which translations it has."
- "Translate article 12 into de-DE and fr-FR and report the result for each language."
- "Show the last 5 translation log rows with status error."
13.10 Troubleshooting the MCP server
| Message or problem | Likely cause | What to do |
|---|---|---|
| "The MCP server is turned off ..." | Enable MCP server is set to No. | Set it to Yes and click Save & Close. |
| "Use POST." | The request was sent as GET, for example by a browser. | Expected in a browser. AI clients always send POST. |
| "No token reached Joomla ..." | The connector sent no Authorization header, or the server removed it. | Check the connector's request headers. If the header is always lost, use the token in the URL (section 13.6), or ask your host to pass the Authorization header to PHP. |
| "The MCP token ... is empty or shorter than 32 characters." | No token is saved, or it is too short. | Create a token of at least 32 characters and save it. |
| "The token you sent does not match ..." | The token in the connector differs from the saved token. | Copy the token again without spaces, and update the connector. |
| "The MCP user must be a Super User ..." | The MCP user is empty, or the account is not a Super User. | Choose a Super User in the MCP user field and save. |
| "Server error. See the MCP log file." | A PHP error occurred during the request. | Open administrator/logs/langbridge_mcp.log and read the ERROR line. |
| Connector shows an error or cannot connect (Claude, ChatGPT, Cursor cloud) | The site cannot be reached from the internet, the address has a port number, the HTTPS certificate is not valid, or a firewall or security plugin blocks the request. | Open the MCP Server URL in a browser from another network. Remove any port number. Check the HTTPS certificate and the firewall or security settings. |
| "Unknown tool: ..." | The AI client asked for a tool that does not exist. | Use one of the five tools in section 13.4. |
| "Translate at most 20 languages in one call." | More than 20 languages were requested. | Ask for fewer languages in one request. |
13.11 Security, logs and maintenance
- Keep Write MCP log file on while you set up. The log is administrator/logs/langbridge_mcp.log. The file starts with a PHP line that stops it from being shown in a browser. Secrets in headers are masked. The body and the response of each request are written up to 4,000 characters.
- Turn logging off when it is no longer needed, and delete the log file if it grows large.
- Set Enable MCP server to No when you do not use the server. The clients then receive an error.
- Replace the token regularly, and at once if someone else may have seen it.
- Use a dedicated Super User as the MCP user where possible.
- Remove the connector from each AI client that you no longer use.
Appendix A. AI providers and models
The model lists below are those offered in the configuration. The default is shown in bold. For OpenAI and Claude, a stored model name that is not in the list falls back to the default model. The models you can use also depend on your account at the provider.
| Provider | Models offered in the configuration |
|---|---|
| OpenAI | GPT 5.6 Terra (balanced cost), GPT 5.6 Sol (high quality), GPT 5.6 Luna (low cost), GPT 6 Astra (flagship), GPT 6.1 Sol (balanced cost), GPT 6 Luna (low cost), GPT 5.2, GPT 4o, GPT 3.5 Turbo |
| Gemini | Gemini 3.1 Pro, Gemini 3.8 Flash, Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash, Gemini 3.5 Flash-Lite, Gemini 3.1 Flash-Lite |
| Claude | Claude Opus 5.5 (high quality), Claude Sonnet 5.5 (balanced), Claude Sonnet 5 (balanced), Claude Opus 5 (high quality), Claude Haiku 4.5 (low cost), Claude Fable 5.1 (flagship), Claude Sonnet 4.6, Claude Opus 4.6 |
| DeepL | No model choice; the DeepL service is used directly. |
Appendix B. Package contents (for administrators and developers)
| Part | What it contains |
|---|---|
| Package pkg_jsmartlang_1.0.0.zip | The file to install. It contains the two packages below. Install this file, not the parts separately. |
| Component com_jsmartlang_J6_2.3.6.zip (com_lang_bridge 2.3.6) | Translation screens, language file services and AI services. The article translation service (ArticleTranslationService) creates and updates translated articles. The MCP server (McpServer) offers the five tools. The MCP endpoint (McpController, task mcp.handle) checks the token and the MCP user. The translation log (TranslationLogService) and the Translation Logs view. |
| Plugin plg_system_jsmarttranslate-1.0.0.zip (System - JSmartLang Translate 1.0.0) | The plugin class adds the Translate & Save button to the article edit page. It works only for Super Users, on a saved article with a specific language. The admin script runs the dialog and calls the component's translation request. The stylesheet and the language files are also included. |
The button sends the article text and the translatable fields of the open form to the component. The component's translation request (task Article_translation.translate) accepts only Super Users and a valid form token.



