Liquid: how can I change my Shopify theme's language programatically?
I have a Shopify theme that has a default language of English. I know how to change the site's language once logged in as an admin, but I want to know how I can programmatically change the theme's language (via a button in the front end).
I'd like the site visitor to be able to switch between languages at will (English and French). Thanks!
It's not possible for the moment, you can use an app, weglot (https://apps.shopify.com/weglot) for example is a good app to achieve this.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.