AI translate: Cannot see translations in translate tab if I use AI TGMT ot auto translate modules
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3523656. -->
Reported by: [dudeweb](https://www.drupal.org/user/3726927)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>on "translate tab" of entities (taxonomy term or content) I have this error:</p>
<p>Warning: Undefined array key "#entity" in Drupal\ai_translate\Form\AiTranslateForm->buildForm() (line 85 of modules/contrib/ai/modules/ai_translate/src/Form/AiTranslateForm.php).</p>
<p>Drupal\ai_translate\Form\AiTranslateForm->buildForm()<br>
call_user_func_array() (Line: 528)<br>
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)<br>
Drupal\Core\Form\FormBuilder->buildForm() (Line: 219)<br>
Drupal\Core\Form\FormBuilder->getForm() (Line: 50)<br>
Drupal\ai_translate\Controller\ContentTranslationControllerOverride->overview()<br>
call_user_func_array() (Line: 123)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 593)<br>
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)<br>
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)<br>
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)<br>
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)<br>
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)<br>
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)<br>
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)<br>
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)<br>
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)<br>
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)<br>
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)<br>
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)<br>
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)<br>
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 709)<br>
Drupal\Core\DrupalKernel->handle() (Line: 19)</p>
<p>If I use ai_tmgmt or auto_translate module.such a shame because it works great other than that...</p>
issue