Translations for Products (Beta)
The Translations Admin GraphQL API for managing product translations is available on Catalyst storefronts only.
The following entities are translatable for products:
- Product Records
- Name as
name - Description as
description - Pre-order message as
preOrderMessage - Warranty Information as
warrantyInformation - Availability Text as
availability - Search Keywords as
searchKeywords - Page Title as
pageTitle - Meta Description as
metaDescription - Image alt text as
images.altText
- Name as
- Custom Fields
- Name
- Value
- Product Options
- Name (option display name, e.g., “Color” or “Size”)
- Value (option value shown to shoppers, e.g., “Red”, “XL”)
Resource fields
The entities listed above are referenced differently based on resource type and must use the following values in the queries outlined below:
Querying Product Translations (Storefront API)
Data is returned in the current locale determined by the context (e.g., Accept-Language header, channel settings, or session locale).
Example: Query a product in a given locale
Request
Response
Managing Product Translations (Admin API)
Product translation management (list, update, delete) is available via the Admin GraphQL API. These mutations and queries are not available on the Storefront API.
Query a List of Product Translations
Request
Response
The request below uses several variables for reusability. Replace {{resourceType}}, {{channel_id}}, and {{locale_code}} with the appropriate values for your use case.
Query a Product Translation by Resource ID
The request below uses several variables for reusability. Replace {{resourceId}}, {{resourceType}}, {{channel_id}}, and {{locale_code}} with appropriate values for your use case. Make sure resourceId follows the format from the Resource fields table.
Request
Response
Update a Product Translation
Request
Response
The request below is for updating the primary product record. For product options or custom fields, replace resourceType and resourceId with appropriate values from the Resource fields table.
Delete a Product Translation
The request below is for deleting translations on the primary product record. For product options or custom fields, replace resourceType and resourceId with appropriate values from the Resource fields table.