We have a site with multiple languages so I created a site for each language. I named these according to the language so, one is named "French", another "English" etc.
Now in the backend this is all fine, when creating entries its clear what the language is you are working in.
I soon noticed these are also used in the front-end and that creates some problems. The site name in a template is easily override by adding something like {% set siteName = getenv('SITE_NAME') %}
.
But harder to fix are for example the mails send out when creating a account, they now say something like "Thank you for creating an account on English!"
I tried a fix by setting the same site name in the config/general.php, this works, but now all the sites in the site switcher in the backend are the same. So not really a good fix.
Having to set a different name for each site is kinda weird, in most cases the brand name is the same in every language. Google is Google no matter the language.
Anyone who knows a decent way to handle this?
French
but we never reveal that in our frontend, we always show the site group name{{ site.group.name }}
->My Awesome Site
and{{ site.name }}
->French