PHPackages                             pits/ai\_translate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. pits/ai\_translate

ActiveTypo3-cms-extension[Localization &amp; i18n](/categories/localization)

pits/ai\_translate
==================

This extension provides option to translate content element, and tca record texts using Deepl, Googletranslate,Gpt4 , Gemini , Claude and Cohere Api services.

4.0.4(3mo ago)33.9k—6.7%6[2 issues](https://github.com/PIT-Solutions-Private-Limited/ai_translate/issues)[1 PRs](https://github.com/PIT-Solutions-Private-Limited/ai_translate/pulls)GPL-2.0+PHPPHP ^8.2

Since Mar 26Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/PIT-Solutions-Private-Limited/ai_translate)[ Packagist](https://packagist.org/packages/pits/ai_translate)[ RSS](/packages/pits-ai-translate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (13)Used By (0)

AI Translate
============

[](#ai-translate)

This extension provides option to translate content elements and tca record fields to desired language(supported by deepl). As a fallback, Google,openai,gemini,claude and cohere translate option is also provided as they provide support for many languages that deepl isn't providing. For both Deepl translate and Google translate, there are two modes-normal and autodetect, where the later autodetects source language and translates it to the desired language. For openai,gemini , claude and cohere autodetects source language and translates it to the desired language.

Installation
------------

[](#installation)

1. Install the "ai\_translate" extension in the standard TYPO3 way.
2. Once the extension is installed, it will be accessible in the left menu in the TYPO3 backend.
3. Click on the "AI Translate" option in the left menu to access languages settings.

Composer support
----------------

[](#composer-support)

composer req pits/ai\_translate

composer exec typo3 extension:setup

How to use:
-----------

[](#how-to-use)

Watch our instruction video to get an overview of the extension and how to use it.

[![TYPO3 AI Translate](https://camo.githubusercontent.com/b0f9f8e9da90d1b682bea7f84370f359360bb426cc7ae18c38957515ead796ce/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f736a6d64347a486a5877592f302e6a7067)](https://www.youtube.com/watch?v=sjmd4zHjXwY "AI Translate for TYPO3")

Requirements
------------

[](#requirements)

- TYPO3 11 (2.1.2)
- TYPO3 12 (3.1.2)
- TYPO3 13 (4.0.1)

Extension Configuartion
-----------------------

[](#extension-configuartion)

Once you installed the extension, you have to set the API Key under extension configuration section

Translating content elements
----------------------------

[](#translating-content-elements)

Once the extension is installed and Api key provided we are good to go for translating content elements.On translating content element,There appears additional six options apart from normal tranlate and copy.

- Deepl Translate(auto detect).
- Deepl Translate.
- Google Translate(auto detect).
- Google Translate.
- OpenAi Translate
- Gemini Translate
- Claude Translate
- Cohere Translate

Claude AI
---------

[](#claude-ai)

Claude AI anthropic has request per minute limitation for free account See details [here](https://docs.anthropic.com/en/api/rate-limits)

Translating TCA records
-----------------------

[](#translating-tca-records)

AITranslate supports translation of specific fields of TCA records.It understands fields which need to be translated, only if their `l10n_mode` is set to `prefixLangTitle`.

For example if you need translation of fields of tx\_news (teaser and bodytext),You need to override those fields like follows:

Add it to TCA/Overrides: Example : `typo3conf/ext/theme/Configuration/TCA/Overrides/tx_news_domain_model_news.php`

```
