I want to pull the fields of the option pages based on the language, but I get the default language back every time.
This is how I register an options page:
acf_add_options_page([
'page_title' => __('Allgemein', 'theme'),
'menu_title' => __('Allgemein', 'theme'),
'menu_slug' => 'site-settings',
'redirect' => false,
'show_in_graphql' => true,
'graphql_field_name' => 'siteSettings',
"position" => 2,
]);
I used ACF to create the fields for the options pages.
I have entered different content for each language.
DE

Default:

EN:

Nevertheless, I always get the following back:
EN | DE | Default:

Am I doing something wrong?
I want to pull the fields of the option pages based on the language, but I get the default language back every time.
This is how I register an options page:
I used ACF to create the fields for the options pages.
I have entered different content for each language.
DE

Default:

EN:

Nevertheless, I always get the following back:
EN | DE | Default:

Am I doing something wrong?