Url alias not translated
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3572534. -->
Reported by: [jonas139](https://www.drupal.org/user/2873401)
Related to !13
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When using the AI translate module to translate entities that have a manual url alias set, the alias is not translated unless you enable 'Generate automatic url alias' in the source entity.</p>
<p>I'm having this behaviour with AI core version 1.2.8, Drupal core 11.2.8 and version 1.3 of this module.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>1. Setup AI and AI translate module<br>
2. Enable 'Url alias' in the 'Entity reference translation' setting of the configuration page of the AI translate module<br>
3. Go to the translate tab of an exisiting entity that has a manual url alias set (not generated automatically) and click 'translate with X' (where X is the used AI model).<br>
4. After the translation is done, look at the url alias of the translated entity. This is the same as the one from the source entity</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Always translate the url alias when 'url alias' is checked in the entity reference translation setting.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue