The AI Translate submodule is being moved out of the AI project in preparation for the 2.0.x-dev development branch, as discussed in #3552887: Move out AI Translate. Therefore, the module is marked as deprecated in version 1.3.0 and will be removed in version 2.0.0.
It is recommended to use a standalone contrib module https://www.drupal.org/project/ai_translate as a replacement instead of the submodule of the AI Core project. Version 1.3.0 of https://www.drupal.org/project/ai_translate is a 1-to-1 copy of the submodule from the AI Core project except that The LLM Proxy Translate operation type remains in AI Core.
Important: The LLM Proxy Translate operation type remains in AI Core. This operation type has been moved from modules/ai_translate/src/Plugin/AiProvider/ChatTranslationProvider.php to src/Plugin/AiProvider/ChatTranslationProvider.php within the AI Core project itself.
Upgrade Path
If You Are Using AI Translate
To ensure that your translation functionality is not broken after updating to AI Core 2.0.0, add the standalone ai_translate module with Composer using the following command:
composer require 'drupal/ai_translate:^1.3'
Steps for migration:
- Before upgrading AI Core to 2.0.0: Add the standalone AI Translate module using the Composer command above.
- Enable the standalone module: If the AI Translate submodule was previously enabled, ensure the standalone module is enabled before upgrading.
- Upgrade AI Core: After the standalone module is in place, you can safely upgrade AI Core to 2.0.0.Your existing AI Translate configuration should be preserved during the transition, as version 1.3.0 of the standalone module is functionally identical to the submodule.
If You Haven't Used AI Translate
If you haven't used the module (it is not installed in your installation), no action is required.