statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
31 stars 1 forks source link

Get entries for "default" language site in country specific ones #1165

Open thomas4Bitcraft opened 4 months ago

thomas4Bitcraft commented 4 months ago

We utilize the multisite feature in Statamic for our website, managing a default locale (e.g., de) and additional sites for various countries (de-at, de-de, de-ch). This setup allows us to customize entries for specific countries while maintaining a default version for the language. However, certain collections don’t require country-specific sites and are therefore not linked to them.

The problem arises when we have a specific entry for a site like de-at. Entries that don’t exist for this site are not linked correctly.

For example, our collections are structured as follows:

pages: de, de-at, de-de, de-ch, it, it-it, ch-id products: de, it In the pages collection, we have an entries form field to link products. However, if the entries are not published across all sites, they do not display correctly.