Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
We're integrating Shopify into our CMS via Storefront API - this works perfectly well, even developing Multi-Language Stores with Checkout in different locales, but i can't find any info on how it is possible to define in which language the customer activation emails are sent if we trigger them via Account Creation / Reset functions via Storefront API Calls.
I looked all over the API Documentation but there doesn't seem to be a way to submit some kind of Language or Locale to the Customer Creation Process - the Confirmation E-Mail is always being sent in the default Store Language set in the Shopify Configuration.
It works perfectly for the Checkout as the Locale can be added to the Checkout URL when redirecting but there is no such field in the Storefront API. Setting the HTTP "Accept-Language" Header as described in the Translation API doesn't help either as this seems to work only with specific Product Translations.
Has anybody managed to find a way to submit the current locale to the Storefront API functions in order to get Transactional E-Mails automatically sent in different Languages and have the Customer? I hope you can point me in the right direction.
in you create_customer form, you can pass customer[tags] as hidden
<input type="hidden" name="customer[tags]" value="lng:en">
Did you ever figure out how to assign a specific language when creating new customers accounts?
No I did not. When i create the costumer account myself it is always English. When it is done on the costumer end, they can chose their language.