App reviews, troubleshooting, and recommendations
Hi,
fragment MenuItemFieldsLevel3 on MenuItem { id title url resourceId type tags } fragment MenuItemFieldsLevel2 on MenuItem { id title url resourceId type tags items { ...MenuItemFieldsLevel3 } } fragment MenuItemFields on MenuItem { id title url resourceId type tags items { ...MenuItemFieldsLevel2 } } query { menu(id: "gid://shopify/Menu/12060185") { # menu fields title translations(locale: "fr"){ key value locale } items{ ...MenuItemFields } } }
i get the menu and its submenus,
{ "data": { "menu": { "title": "Main Menu $$$", "translations": [], "items": [ { "id": "gid://shopify/MenuItem/50334177", "title": "Home", "url": "/", "resourceId": null, "type": "FRONTPAGE", "tags": [], "items": [] }, { "id": "gid://shopify/MenuItem/50334181", "title": "Catalog", "url": "/collections/all", "resourceId": null, "type": "HTTP", "tags": [], "items": [] }, { "id": "gid://shopify/MenuItem/50334185", "title": "Blog", "url": "/blogs/news", "resourceId": "gid://shopify/Blog/5401685", "type": "BLOG", "tags": [], "items": [] }, { "id": "gid://shopify/MenuItem/50334189", "title": "About Us", "url": "/pages/handle-fr-8-38-05-am", "resourceId": "gid://shopify/Page/17910997", "type": "PAGE", "tags": [], "items": [] } ] } }, "extensions": { "cost": { "requestedQueryCost": 5, "actualQueryCost": 4, "throttleStatus": { "maximumAvailable": 2000.0, "currentlyAvailable": 1996, "restoreRate": 100.0 } } } }
however the translations array is empty despite there are translations as you can see from the translatableResources query
query { translatableResources(first: 250, resourceType: MENU){ edges { node { resourceId translations (locale:"fr") { key value locale } translatableContent { key value digest locale } } } } }
response:
{ "data": { "translatableResources": { "edges": [ { "node": { "resourceId": "gid://shopify/Menu/12060185", "translations": [ { "key": "title", "value": "Main Menu §", "locale": "fr", "outdated": true } ], "translatableContent": [ { "key": "title", "value": "Main Menu $$$", "digest": "e6c8973686e3729b07abef0500bc5e7c44e124fa7d92500f8802d9918414a0e9", "locale": "en" } ] } }, { "node": { "resourceId": "gid://shopify/Menu/12060189", "translations": [ { "key": "title", "value": "Footer §", "locale": "fr", "outdated": false } ], "translatableContent": [ { "key": "title", "value": "Footer", "digest": "26c87bb51e6978fe3987340c0056537a696a85a7d46c8bf3291ed13c45b34958", "locale": "en" } ] } }, { "node": { "resourceId": "gid://shopify/Menu/184776130618", "translations": [ { "key": "title", "value": "Customer account main menu §", "locale": "fr", "outdated": false } ], "translatableContent": [ { "key": "title", "value": "Customer account main menu", "digest": "6d4e8500576a2991ed749e542318522b34539c64cbbdbf32a6cc3ff130514a5d", "locale": "en" } ] } } ] } }, "extensions": { "cost": { "requestedQueryCost": 35, "actualQueryCost": 8, "throttleStatus": { "maximumAvailable": 2000.0, "currentlyAvailable": 1992, "restoreRate": 100.0 } } } }
is this a bug or am i missing something?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025