I'm trying to setup alternate locales for content across several sites. I have the following scenario:
- Group siteA
- siteA.com/product-1
- Group siteB
- siteB.com/product-2
- siteB.com/fr/product-2
Content remains the same within a site group, where an entry in one locale is a translation of an entry another locale (as in Craft 2). Other site groups will have the same sections, but different content and perhaps locales. Propagating entries will not work in this case.
It's a scenario I've seen mentioned elsewhere, but I fail to understand the setup.
Is there a way to assign locales to multiple sites in general.php
config the same way one would for siteUrl
?
'production' => [
'siteUrl' => 'siteA.com',
'siteB' => [
'en_gb' => 'siteB.com',
'fr' => 'siteB.com/fr/'
]
],
Perhaps with alias
?
Edit:
Ideally it would be something like propagating entries amongst site groups but not all sites, so product-2
would be propagated in siteB only.