Discussing APIs and development related to customers, discounts, and order management.
hi,
The customer's language setting is incorrectly modified when creating an order.
When creating a customer in Shopify and setting the language to Japanese with customer.locale("ja"), the customer's language setting will change to English after an order is created using this customer.
Hi Cheng,
Are you using the API to create the order, or is the customer making the order?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
Thank you for using the API interface to create the order.
And you're seeing the language changing back to English when you query the customer after making an order? This does sound strange, and could be a bug with Shopify. Have you contacted support yet?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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
I have not contacted technical support. My operational steps are as follows: After creating a customer using the API, I set the language for this customer to Japanese. Then, after creating an order for this customer using the API, the language for this customer is changed to English, and the email notifications for shipping are sent in English.
Because of the time difference, communication is very difficult. I need your help. Do you need me to provide any information?