Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have tried to set configuration translation for a node type when the site default language differed from the English. The translate page of the content type become and remain unusable: "The website encountered an unexpected error. Please try again later."
To reproduce:
- Install a new Drupal site:
drush site-install standard --db-url=mysql://drupal810:drupal810@localhost/drupal810 --site-name=Test --account-name=admin --account-pass=password -y
drush en config_translation -y - Log in as admin and add a new language (I added the Hungarian) to the site (sorry, I did not find working Drush command for this step)
- Set the new language as site default
- Go to the Article type's edit page (/hu/admin/structure/types/manage/article) and change the "Title" field's value to EngTitle, then save the result
After this sequence both the Article edit page and translate page is unavailable throwing the "The website encountered an unexpected error. Please try again later." message.
Comments
Comment #2
zolt_toth CreditAttribution: zolt_toth commentedThe dblog contains the following item after step four for each reload on the Article type edit page:
Comment #3
swentel CreditAttribution: swentel as a volunteer commentedSee #2595535: Show helpful message (do not fatal!) when configuration files have different source language codes and cannot be translated