Site name is not changing in When I change the site name in admin/config/system/site-information it has no effect on the site name between the title tags. It always shows "Drupal" as the site name.

I'm using the Basic theme with the same implementation as in the core themes:

&lt;title&gt;{{ head_title|safe_join(' | ') }}&lt;/title&gt;


I already checked the translations and the site name is also not hard coded in settings.php
I had same problem, and I solved it after reading this article:

Source : https://www.drupal.org/node/2844755

you can do it step by step :


Change the default language to English.
Delete the other language.
Clear the cache.
Change the site name.
Add the other language and set it back to default.


It works after adding new language again