Filter for language when using graphQL I try to use graphQL to get language specific entries from my Craft CMS. I (naively?) tried this:
query {
    entries (section: &quot;newsIntranet&quot;, language: &quot;fr&quot;) {
        title
        postDate
        expiryDate
        contentText
    }
}

because of this part of doc.
How can I get make sure that I only get entries of a given language when using graphQL from an extrernal system?
You'll want to use siteId for this.
query {
    entries (section: &quot;newsIntranet&quot;, siteId: &quot;2&quot;) {
        title
        postDate
        expiryDate
        contentText
    }
}

Swap out &quot;2&quot; with whatever the siteId of the French site is on your system.