Familiarize yourself with the use of JS SDK events and methods.

Create additional switcher


Switch to another language

Using inline javascript code


or using event listener

var links = document.querySelectorAll(".language-link");

for(var i = 0, count = links.length; i < count; i++) {

    links[i].addEventListener("click", function(e) {
        var code = e.currentTarget.dataset.code;

Switch to another currency

var selector = document.getElementById("simple-selector");

selector.addEventListener("change", function(e) {
    var code = e.currentTarget.value;

React on the opened dropdown switcher


Take action only if certain language is chosen


Format product price


Show price in your own format


Save user last language before language switched


Track switching the currency with Google Analytics


Translate third-party app's static content

The translations process takes some time. In this case, we recommend creating a translatable container for all needed locales as fast as possible.


Then you can receive strings translations during the render process.


Start your 14-day free trial today!

Schedule meeting

Try LangShop free for 14 days by entering your domain of Shopify store.