Skip to content

Pass Accept-Language header to query  #76

Open
@7oats

Description

@7oats

Hello everyone.

I want to build a headless e-commerce with Shopify, Gridsome and the source-shopify-plugin. The site should be multilingual. Shopify provides an api-endpoint to add translations to products, collections, ... To receive translated content, the header needs to contain: "Accept-Language: ". According to the shopify docs it is not possible to do a query with a locale request parameter.

Is there any way to get translated content from shopify storefront-api?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions