A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I'm creating a custom connector that will be sending store content for translation and putting translated content back to the store. All is working fine, but I've discovered that I can collect content of for example blogs for translation, but there's no handle to return it to the store?
For example this handles product all fine:
Solved! Go to the solution
This is an accepted solution.
Hi there 👋
I believe the resource type you should be using is ONLINE_STORE_BLOG or ONLINE_STORE_ARTICLE.
So your GraphQL query will look something like this!
query {
translatableResources(first: 10, resourceType: ONLINE_STORE_BLOG) {
nodes {
translatableContent{
digest
key
value
locale
}
}
}
}
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi there 👋
I believe the resource type you should be using is ONLINE_STORE_BLOG or ONLINE_STORE_ARTICLE.
So your GraphQL query will look something like this!
query {
translatableResources(first: 10, resourceType: ONLINE_STORE_BLOG) {
nodes {
translatableContent{
digest
key
value
locale
}
}
}
}
To learn more visit the Shopify Help Center or the Community Blog.
Thanks a lot! I'll check if that works! Hope it does:)
It works perfectly! Thank you very much for your help! Much appreciated!