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

Hadi Farnoud’s picture

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

hopfrog’s picture

OK, thanks

criscom’s picture

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.