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.
By hopfrog on
I can not publish anything for this error:
[30-Sep-2016 16:34:01 Europe/Rome] Uncaught PHP Exception Drupal\Core\Entity\EntityStorageException: "Invalid translation language (it) specified." at /home/mysite/public_html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 770
How do I fix it?
Comments
there is something wrong in
there is something wrong in your translations. in Drupal translations, there is sometimes a variable in string. if the translation does not have that string in it also, it throws an error.
it's a shame drupal doesn't check translations for that. this could be avoided if drupal.org automatically checks them all
OK, thanks
OK, thanks
Same problem
I encountered the same problem. But I have no clue where that might come from as I only have two translated nodes and I wouldn't find any strings in them that might cause the problem.