Product Filter Translations
Translations for Product Filters (Beta)
The Translations Admin GraphQL API is currently available on Catalyst storefronts only.
This subset of the Translation API is built for translating the labels on the faceted search / product filtering fields on the storefront. In particular, it allows you to translate the general filter names such as Category, Brand, and Custom Fields. These translations specifically apply to the title of the group, not the filter values and variables. To manage the filter values themselves, refer to the specific resources.
The product filter translatable fields are:
Only string values are translatable. Numeric content such as product count or price values are not translatable.
Query translations
This query returns a paginated list of translations by resourceType, channelId, and localeId with a maximum of 50 results per request.
Translated fields are returned whenever available, and the default locale values are returned otherwise on a field-by-field basis.
Request
Response
Query a translation by resourceId
When querying by resourceId, the resourceId value must be constructed from the filterName using the format bc/store/productFilters/{filterName}. For example, the filterName brand becomes the resourceId bc/store/productFilters/brand.
This query returns translation(s) filtered by resourceId. For product filters, the resourceId is constructed from the filterName as shown in the callout above.
Request
Response
Update a translation
This mutation updates a translation.
Duplicate translations for filters is not allowed. For example,
Color -> Colir
Colorr -> neither Color, nor Colir would be valid
Request
Response
Delete a translation
The following mutation deletes a translation.
Request
Response
Limitations
- Product count and other numeric-only fields do not support localization.
- Only displayable string content for filter names and values is translatable.
- Currently available on Catalyst storefronts only.
Best Practices
- Use the GraphQL Admin API to manage translations in bulk.
- Check for existing translations before creating new ones to minimize overwrites.
- Always use full
resourceIdvalues as required by the API. - Storefront GraphQL API automatically uses the shopper’s locale for product filter display names.