Language setting changes post-order creation

Language setting changes post-order creation

cheng1
New Member
5 0 0

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.

Replies 5 (5)

Liam
Community Manager
3108 340 873

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

cheng1
New Member
5 0 0

Thank you for using the API interface to create the order. 

Liam
Community Manager
3108 340 873

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

cheng1
New Member
5 0 0

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.

cheng1
New Member
5 0 0

Because of the time difference, communication is very difficult. I need your help. Do you need me to provide any information?