A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
How could you translate a custom page via API? I found out that GraphQL API could help me, but I can't find any example on the whole web.
Any idea?
Thanks!
Hey @Jancso !
We have a guide here that goes through the process of translating resources via API. https://shopify.dev/docs/apps/selling-strategies/markets/translate-content
Since you're looking to translate a custom page, the translatable resource you'll need is the ONLINE_STORE_PAGE https://shopify.dev/docs/api/admin-graphql/2024-01/enums/TranslatableResourceType#value-onlinestorep...
Hope that helps,
Kyle G.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog