1) in the old plugin I can only register the options page manually, WPGraphQL for Advanced Custom Fields does not add the page to the graphql schema. However manually it works and I can create acf fields and add them to the page. I completely disable Polylang synchronization for acf and only use the language switcher for the options page. Fields store different values according to language, and so does the result by language during GraphQL queries. It works fine with the old plugin. However, there is another problem, I created a Gutenberg block with acf fields, but in the GraphQL response I get an incorrect data schema even if I use my own render template.
As you can see, the image contains only the id, although the acf image field contains both the title and the link.
2) But with the new plugin the situation is even more complicated. Now it adds the options pages to the grapgl schema, but it is not possible to get the fields according to the language. The schema doesn't even show the language argument with LanguageCodeEnum. It only appears if this page is added via code:
,but still doesn't work. And although the fields on the options page store different values for different languages, you can't get them by language. It always return either the default value or null.
List of my plugins:
fields on options page
query
acf Fields
Steps to reproduce
Just try to get ACF Options Page fields by locale
Just try to get fields from acf gutenberg block by locale
Description
1) in the old plugin I can only register the options page manually, WPGraphQL for Advanced Custom Fields does not add the page to the graphql schema. However manually it works and I can create acf fields and add them to the page. I completely disable Polylang synchronization for acf and only use the language switcher for the options page. Fields store different values according to language, and so does the result by language during GraphQL queries. It works fine with the old plugin. However, there is another problem, I created a Gutenberg block with acf fields, but in the GraphQL response I get an incorrect data schema even if I use my own render template.
Then i put it to the post and try to get blocks.
As you can see, the image contains only the id, although the acf image field contains both the title and the link.
2) But with the new plugin the situation is even more complicated. Now it adds the options pages to the grapgl schema, but it is not possible to get the fields according to the language. The schema doesn't even show the language argument with LanguageCodeEnum. It only appears if this page is added via code:
,but still doesn't work. And although the fields on the options page store different values for different languages, you can't get them by language. It always return either the default value or null.
List of my plugins:
fields on options page
query
acf Fields
Steps to reproduce
Just try to get ACF Options Page fields by locale Just try to get fields from acf gutenberg block by locale
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-04-21.json
Additional context
No response
WPGraphQL Version
1.23.0
WPGraphQL For ACF Version
old 0.6.1 beta 2, new 2.2.0
ACF (Advanced Custom Fields) Version. Free or Pro?
6.2.9 pro
WordPress Version
6.5.2
PHP Version
8.1
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.