Babel breaks Locale's interface translation form
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3551795. --> Reported by: [huzooka](https://www.drupal.org/user/281301) Related to !66 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>If Babel is installed, and I try to translate strings on the Locale module's form ("interface translation"), then after clicking the "Save" button, I get the message "The website encountered an unexpected error. Try again later."</p> <p>Core commit hash: 5b5471a<br> Babel: d9e330c</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1. <code>drush si -y &amp;&amp; drush en babel -y &amp;&amp; drush php:eval "\Drupal\language\Entity\ConfigurableLanguage::createFromLangcode('hr')-&gt;save()"</code><br> 2. <code>drush uli "admin/config/regional/translate?string=Drupal announcements"</code><br> 3. Translate one of the strings and hit save.<br> 4. "The website encountered an unexpected error. Try again later."</p> <p>If you set up the Drupal instance without installing Babel, saving translations here works properly<br> (Just replace first command with: drush si -y &amp;&amp; drush en locale -y &amp;&amp; drush php:eval "\Drupal\language\Entity\ConfigurableLanguage::createFromLangcode('hr')-&gt;save()")</p> <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