diff --git a/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductFieldsSelector.php b/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductFieldsSelector.php index ab9fed035cc35..89906a130bfd3 100644 --- a/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductFieldsSelector.php +++ b/app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductFieldsSelector.php @@ -52,8 +52,10 @@ public function getProductFieldsFromInfo(ResolveInfo $info, string $productNodeN if ($node->name->value !== $productNodeName) { continue; } - $queryFields = $this->attributesJoiner->getQueryFields($node, $info); - $fieldNames[] = $queryFields; + $queryFields = array_map(function (string $fieldName): string { + return $this->fieldTranslator->translate($fieldName); + }, $this->attributesJoiner->getQueryFields($node, $info)); + $fieldNames[] = $queryFields; } return array_merge(...$fieldNames);