Is there a way to swap locales on the checkout page?

ski_power
Shopify Partner
9 2 1

I'm trying to dynamically change the locale on the checkout page dependent on a product in the cart, or with some javascript on the cart page. That is, instead of en.default.json, I want to apply a custom locale.json to only the checkout page based on some conditions of the cart.

Is this possible? It seems apps are able to do this, I want to do this without an app.

 

Thank you.

Replies 0 (0)