Skip to content

Translate Entry Relationships #11030

Answered by brandonkelly
aloco asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is expected. Craft does not store a target site for each relationship individually.

On the front-end, you can fetch the related entries across other sites besides the current one if necessary, like so:

{% set relatedEntries = entry.bestOfProjects
    .site('*')
    .preferSites([entry.siteId])
    .unique()
    .all() %}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants