After translating your content and publishing your translations you might want to add the language switcher. Learn here how to do that.



Step 1


Navigate to the "Online Store / Themes" section of your shopify backend and click "Edit HTML/CSS" on the theme that you would like to include the language switcher for (please note that your translations must have been published for that theme in langify already)




Step 2


You should now see the shopify theme editor where you can edit your theme files.


Where to exactly include the snippet heavily depends on the theme you are using.

If you don't know where to include the switcher, try to include it right after the <body> tag in your layouts/theme.liquid file.


The language switcher code is:

{% include 'ly-languages-switcher' %}


Open the layouts/theme.liquid file and add the language switcher code right after the <body> tag:




Step 3


After you have saved your changes, the language switcher should show up on your storefront:




You now have different options to customize your language switcher, check our Solution Home for more information.



Good luck!

 

We hope this tutorial was of use, if you are still struggling with your translations or have encountered any problems which we haven't discussed here feel free to contact us.