Background of the issue:
I am working on a site under development using WPML with GraphQL and ACF. I have a GraphQL query: query getHomePage($id: ID!) { page(id: $id, idType: DATABASE_ID) { pageAccueilSectionSliderTrust { pageAccueilSectionSliderTrustIntitule pageAccueilSectionSliderTrustRelation { edges { node { id ... on Slider { title } } } } } } } When the id is a page in French, I get the relationship pageAccueilSectionSliderTrustRelation. However, when I request the page ID in English, I get nothing in pageAccueilSectionSliderTrustRelation, even though I've entered the relations to the CPT in English.
Symptoms:
The GraphQL query returns the expected relationship data for a page in French but returns nothing for the same page in English, despite having entered the relations in English.
Questions:
How is it possible that the relationship data is not returned for the English page?
Is there any specific configuration needed in WPML to handle GraphQL queries for different languages?
Thank you for the updates. Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our privacy information sharing policies.